Skip to content

Commit 12ef4df

Browse files
dravnicondrejmirtes
authored andcommitted
intval() and floatval() value argument should be a scalar
1 parent 558699e commit 12ef4df

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
@@ -2988,7 +2988,7 @@
29882988
'finfo_file' => ['string|false', 'finfo'=>'resource', 'file_name'=>'string', 'options='=>'int', 'context='=>'resource'],
29892989
'finfo_open' => ['resource|false', 'options='=>'int', 'arg='=>'string'],
29902990
'finfo_set_flags' => ['bool', 'finfo'=>'resource', 'options'=>'int'],
2991-
'floatval' => ['float', 'var'=>'mixed'],
2991+
'floatval' => ['float', 'var'=>'scalar'],
29922992
'flock' => ['bool', 'fp'=>'resource', 'operation'=>'int', '&w_wouldblock='=>'int'],
29932993
'floor' => ['float|false', 'number'=>'float'],
29942994
'flush' => ['void'],
@@ -5615,7 +5615,7 @@
56155615
'intltz_to_date_time_zone' => ['DateTimeZone|false', 'obj'=>''],
56165616
'intltz_use_daylight_time' => ['bool', 'obj'=>''],
56175617
'intlz_create_default' => ['IntlTimeZone'],
5618-
'intval' => ['int', 'var'=>'mixed', 'base='=>'int'],
5618+
'intval' => ['int', 'var'=>'scalar', 'base='=>'int'],
56195619
'InvalidArgumentException::__clone' => ['void'],
56205620
'InvalidArgumentException::__construct' => ['void', 'message='=>'string', 'code='=>'int', 'previous='=>'(?Throwable)|(?InvalidArgumentException)'],
56215621
'InvalidArgumentException::__toString' => ['string'],

0 commit comments

Comments
 (0)