mirror of
https://github.com/danog/psalm.git
synced 2024-11-29 20:28:59 +01:00
parent
e22491537b
commit
93d66117d0
@ -393,6 +393,10 @@ class Functions
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($function_id === 'func_num_args' || $function_id === 'func_get_args') {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($function_id === 'count' && isset($args[0]) && $type_provider) {
|
||||
$count_type = $type_provider->getType($args[0]->value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user