Skip to content

Commit 7f5bc5d

Browse files
More precise intval and floatval signature
1 parent 1f150cc commit 7f5bc5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2987,7 +2987,7 @@
29872987
'finfo_file' => ['string|false', 'finfo'=>'resource', 'file_name'=>'string', 'options='=>'int', 'context='=>'resource'],
29882988
'finfo_open' => ['resource|false', 'options='=>'int', 'arg='=>'string'],
29892989
'finfo_set_flags' => ['bool', 'finfo'=>'resource', 'options'=>'int'],
2990-
'floatval' => ['float', 'var'=>'scalar|array|resource|null'],
2990+
'floatval' => ['float', 'var'=>'scalar|array|null'],
29912991
'flock' => ['bool', 'fp'=>'resource', 'operation'=>'int-mask<LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB>', '&w_wouldblock='=>'0|1'],
29922992
'floor' => ['__benevolent<float|false>', 'number'=>'float'],
29932993
'flush' => ['void'],
@@ -5614,7 +5614,7 @@
56145614
'intltz_to_date_time_zone' => ['DateTimeZone|false', 'obj'=>''],
56155615
'intltz_use_daylight_time' => ['bool', 'obj'=>''],
56165616
'intlz_create_default' => ['IntlTimeZone'],
5617-
'intval' => ['int', 'var'=>'scalar|array|resource|null', 'base='=>'int'],
5617+
'intval' => ['int', 'var'=>'scalar|array|null', 'base='=>'int'],
56185618
'InvalidArgumentException::__clone' => ['void'],
56195619
'InvalidArgumentException::__construct' => ['void', 'message='=>'string', 'code='=>'int', 'previous='=>'(?Throwable)|(?InvalidArgumentException)'],
56205620
'InvalidArgumentException::__toString' => ['string'],

0 commit comments

Comments
 (0)