1
0
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:
Jon Ursenbach 2018-04-02 18:00:25 -04:00 committed by Matthew Brown
parent fef56c7633
commit f51a5f79ed

View File

@ -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'],