mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
usleep(0) is valid
Similar to ef9858c45881cc7be8fbb5653797f8c0fa4844e2. usleep() only throws the value is < 0: ``` Uncaught ValueError: usleep(): Argument #1 ($microseconds) must be greater than or equal to 0 ```
This commit is contained in:
parent
cd8ba5cd88
commit
84d327678b
@ -15151,7 +15151,7 @@ return [
|
||||
'urlencode' => ['string', 'string'=>'string'],
|
||||
'use_soap_error_handler' => ['bool', 'enable='=>'bool'],
|
||||
'user_error' => ['void', 'message'=>'string', 'error_level='=>'int'],
|
||||
'usleep' => ['void', 'microseconds'=>'positive-int'],
|
||||
'usleep' => ['void', 'microseconds'=>'positive-int|0'],
|
||||
'usort' => ['bool', '&rw_array'=>'array', 'callback'=>'callable(mixed,mixed):int'],
|
||||
'utf8_decode' => ['string', 'string'=>'string'],
|
||||
'utf8_encode' => ['string', 'string'=>'string'],
|
||||
|
@ -16189,7 +16189,7 @@ return [
|
||||
'urlencode' => ['string', 'string'=>'string'],
|
||||
'use_soap_error_handler' => ['bool', 'enable='=>'bool'],
|
||||
'user_error' => ['void', 'message'=>'string', 'error_level='=>'int'],
|
||||
'usleep' => ['void', 'microseconds'=>'positive-int'],
|
||||
'usleep' => ['void', 'microseconds'=>'positive-int|0'],
|
||||
'usort' => ['bool', '&rw_array'=>'array', 'callback'=>'callable(mixed,mixed):int'],
|
||||
'utf8_decode' => ['string', 'string'=>'string'],
|
||||
'utf8_encode' => ['string', 'string'=>'string'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user