Skip to content

Commit 82eb72c

Browse files
staabmondrejmirtes
authored andcommitted
Improve signature of random_bytes()
1 parent 251a9f1 commit 82eb72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9056,7 +9056,7 @@
90569056
'radius_strerror' => ['string', 'radius_handle'=>'resource'],
90579057
'rand' => ['int', 'min'=>'int', 'max'=>'int'],
90589058
'rand\'1' => ['int'],
9059-
'random_bytes' => ['string', 'length'=>'int'],
9059+
'random_bytes' => ['non-empty-string', 'length'=>'positive-int'],
90609060
'random_int' => ['int', 'min'=>'int', 'max'=>'int'],
90619061
'range' => ['array', 'low'=>'int|float|string', 'high'=>'int|float|string', 'step='=>'int|float'],
90629062
'RangeException::__clone' => ['void'],

0 commit comments

Comments
 (0)