mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
dirname level must be > 0 otherwise fatal
This commit is contained in:
parent
f9f1cc244b
commit
a33c80d291
@ -1613,7 +1613,7 @@ return [
|
||||
'DirectoryIterator::setFileClass' => ['void', 'class='=>'class-string'],
|
||||
'DirectoryIterator::setInfoClass' => ['void', 'class='=>'class-string'],
|
||||
'DirectoryIterator::valid' => ['bool'],
|
||||
'dirname' => ['string', 'path'=>'string', 'levels='=>'int'],
|
||||
'dirname' => ['string', 'path'=>'string', 'levels='=>'int<1, max>'],
|
||||
'disk_free_space' => ['float|false', 'directory'=>'string'],
|
||||
'disk_total_space' => ['float|false', 'directory'=>'string'],
|
||||
'diskfreespace' => ['float|false', 'directory'=>'string'],
|
||||
|
@ -9995,7 +9995,7 @@ return [
|
||||
'dio_truncate' => ['bool', 'fd'=>'resource', 'offset'=>'int'],
|
||||
'dio_write' => ['int', 'fd'=>'resource', 'data'=>'string', 'length='=>'int'],
|
||||
'dir' => ['Directory|false', 'directory'=>'string', 'context='=>'resource'],
|
||||
'dirname' => ['string', 'path'=>'string', 'levels='=>'int'],
|
||||
'dirname' => ['string', 'path'=>'string', 'levels='=>'int<1, max>'],
|
||||
'disk_free_space' => ['float|false', 'directory'=>'string'],
|
||||
'disk_total_space' => ['float|false', 'directory'=>'string'],
|
||||
'diskfreespace' => ['float|false', 'directory'=>'string'],
|
||||
|
Loading…
Reference in New Issue
Block a user