1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix signature of "gmp_import"

According to the PHP manual, the second and third argument of "gmp_import" have default values and are therefore optional.

https://php.net/gmp_import
This commit is contained in:
Steffen Weber 2017-10-25 11:46:45 +02:00 committed by Matthew Brown
parent 122b354c4c
commit 30465518f7

View File

@ -2703,7 +2703,7 @@ return [
'gmp_gcdext' => ['array', 'a'=>'', 'b'=>''],
'gmp_gcd' => ['GMP', 'a'=>'', 'b'=>''],
'gmp_hamdist' => ['int', 'a'=>'', 'b'=>''],
'gmp_import' => ['GMP', 'data'=>'string', 'word_size'=>'int', 'options'=>'int'],
'gmp_import' => ['GMP', 'data'=>'string', 'word_size='=>'int', 'options='=>'int'],
'gmp_init' => ['GMP', 'number'=>'', 'base='=>'int'],
'gmp_intval' => ['int', 'gmpnumber'=>''],
'gmp_invert' => ['GMP', 'a'=>'', 'b'=>''],