Skip to content

Commit 3c6df85

Browse files
jlherrenondrejmirtes
authored andcommitted
Fix Reflection::getStaticProperties()'s return type
Also make other return types more precise.
1 parent 518b20d commit 3c6df85

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

resources/functionMap.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9645,27 +9645,27 @@
96459645
'ReflectionClass::getConstant' => ['mixed', 'name'=>'string'],
96469646
'ReflectionClass::getConstants' => ['array<string,mixed>'],
96479647
'ReflectionClass::getConstructor' => ['ReflectionMethod|null'],
9648-
'ReflectionClass::getDefaultProperties' => ['array'],
9648+
'ReflectionClass::getDefaultProperties' => ['array<string, mixed>'],
96499649
'ReflectionClass::getDocComment' => ['string|false'],
96509650
'ReflectionClass::getEndLine' => ['int|false'],
96519651
'ReflectionClass::getExtension' => ['ReflectionExtension|null'],
96529652
'ReflectionClass::getExtensionName' => ['string|false'],
96539653
'ReflectionClass::getFileName' => ['string|false'],
9654-
'ReflectionClass::getInterfaceNames' => ['string[]'],
9654+
'ReflectionClass::getInterfaceNames' => ['array<int, string>'],
96559655
'ReflectionClass::getInterfaces' => ['array<string, ReflectionClass>'],
96569656
'ReflectionClass::getMethod' => ['ReflectionMethod', 'name'=>'string'],
9657-
'ReflectionClass::getMethods' => ['ReflectionMethod[]', 'filter='=>'int'],
9657+
'ReflectionClass::getMethods' => ['array<int, ReflectionMethod>', 'filter='=>'int'],
96589658
'ReflectionClass::getModifiers' => ['int'],
96599659
'ReflectionClass::getName' => ['class-string'],
96609660
'ReflectionClass::getNamespaceName' => ['string'],
96619661
'ReflectionClass::getParentClass' => ['ReflectionClass|false'],
9662-
'ReflectionClass::getProperties' => ['ReflectionProperty[]', 'filter='=>'int'],
9662+
'ReflectionClass::getProperties' => ['array<int, ReflectionProperty>', 'filter='=>'int'],
96639663
'ReflectionClass::getProperty' => ['ReflectionProperty', 'name'=>'string'],
96649664
'ReflectionClass::getReflectionConstant' => ['ReflectionClassConstant|false', 'name'=>'string'],
96659665
'ReflectionClass::getReflectionConstants' => ['array<int,ReflectionClassConstant>'],
96669666
'ReflectionClass::getShortName' => ['string'],
96679667
'ReflectionClass::getStartLine' => ['int|false'],
9668-
'ReflectionClass::getStaticProperties' => ['ReflectionProperty[]'],
9668+
'ReflectionClass::getStaticProperties' => ['array<string, mixed>'],
96699669
'ReflectionClass::getStaticPropertyValue' => ['mixed', 'name'=>'string', 'default='=>'mixed'],
96709670
'ReflectionClass::getTraitAliases' => ['array<string,string>'],
96719671
'ReflectionClass::getTraitNames' => ['array<int,string>'],

0 commit comments

Comments
 (0)