This commit is contained in:
2021-02-23 16:20:19 +08:00
parent 87950f07da
commit 599cfc7d10
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ class Annotation extends Component
* @param string $property
* @return mixed|null
*/
public function getPropertyAnnotation($class, $property = ''): ?array
public function getProperty($class, $property = ''): ?array
{
if (is_object($class)) {
$class = get_class($class);