Skip to content

Commit 012a77c

Browse files
schlndhondrejmirtes
authored andcommitted
make method names non-falsy-string
1 parent 6007c11 commit 012a77c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3299,7 +3299,7 @@
32993299
'get_called_class' => ['class-string'],
33003300
'get_cfg_var' => ['mixed', 'option_name'=>'string'],
33013301
'get_class' => ['class-string', 'object='=>'object'],
3302-
'get_class_methods' => ['list<string>', 'class'=>'mixed'],
3302+
'get_class_methods' => ['list<non-falsy-string>', 'class'=>'mixed'],
33033303
'get_class_vars' => ['array', 'class_name'=>'string'],
33043304
'get_current_user' => ['string'],
33053305
'get_declared_classes' => ['list<class-string>'],

stubs/ReflectionMethod.stub

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ class ReflectionMethod
88
*/
99
public $class;
1010

11+
/**
12+
* @var non-falsy-string
13+
*/
14+
public $name;
15+
1116
}

0 commit comments

Comments
 (0)