mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
pow()
accepts int|float
, not just float
.
This commit is contained in:
parent
fef56c7633
commit
f51a5f79ed
@ -8664,7 +8664,7 @@ return [
|
||||
'posix_times' => ['array'],
|
||||
'posix_ttyname' => ['string|false', 'fd'=>'resource|int'],
|
||||
'posix_uname' => ['array'],
|
||||
'pow' => ['float', 'base'=>'float', 'exponent'=>'float'],
|
||||
'pow' => ['float', 'base'=>'int|float', 'exponent'=>'int|float'],
|
||||
'preg_filter' => ['mixed', 'regex'=>'mixed', 'replace'=>'mixed', 'subject'=>'mixed', 'limit='=>'int', '&w_count='=>'int'],
|
||||
'preg_grep' => ['array', 'regex'=>'string', 'input'=>'array', 'flags='=>'int'],
|
||||
'preg_last_error' => ['int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user