mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Merge pull request #9814 from Hanmac/master
glob: allow empty string for pattern
This commit is contained in:
commit
8e8a11d6a9
@ -3329,7 +3329,7 @@ return [
|
|||||||
'gettimeofday' => ['array<string, int>'],
|
'gettimeofday' => ['array<string, int>'],
|
||||||
'gettimeofday\'1' => ['float', 'as_float='=>'true'],
|
'gettimeofday\'1' => ['float', 'as_float='=>'true'],
|
||||||
'gettype' => ['string', 'value'=>'mixed'],
|
'gettype' => ['string', 'value'=>'mixed'],
|
||||||
'glob' => ['list<non-empty-string>|false', 'pattern'=>'non-empty-string', 'flags='=>'int<1, max>'],
|
'glob' => ['list<non-empty-string>|false', 'pattern'=>'string', 'flags='=>'int<1, max>'],
|
||||||
'GlobIterator::__construct' => ['void', 'pattern'=>'string', 'flags='=>'int'],
|
'GlobIterator::__construct' => ['void', 'pattern'=>'string', 'flags='=>'int'],
|
||||||
'GlobIterator::count' => ['int'],
|
'GlobIterator::count' => ['int'],
|
||||||
'GlobIterator::current' => ['FilesystemIterator|SplFileInfo|string'],
|
'GlobIterator::current' => ['FilesystemIterator|SplFileInfo|string'],
|
||||||
|
@ -10727,7 +10727,7 @@ return [
|
|||||||
'gettimeofday' => ['array<string, int>'],
|
'gettimeofday' => ['array<string, int>'],
|
||||||
'gettimeofday\'1' => ['float', 'as_float='=>'true'],
|
'gettimeofday\'1' => ['float', 'as_float='=>'true'],
|
||||||
'gettype' => ['string', 'value'=>'mixed'],
|
'gettype' => ['string', 'value'=>'mixed'],
|
||||||
'glob' => ['list<non-empty-string>|false', 'pattern'=>'non-empty-string', 'flags='=>'int<1, max>'],
|
'glob' => ['list<non-empty-string>|false', 'pattern'=>'string', 'flags='=>'int<1, max>'],
|
||||||
'gmdate' => ['string', 'format'=>'string', 'timestamp='=>'int'],
|
'gmdate' => ['string', 'format'=>'string', 'timestamp='=>'int'],
|
||||||
'gmmktime' => ['int|false', 'hour='=>'int', 'minute='=>'int', 'second='=>'int', 'month='=>'int', 'day='=>'int', 'year='=>'int'],
|
'gmmktime' => ['int|false', 'hour='=>'int', 'minute='=>'int', 'second='=>'int', 'month='=>'int', 'day='=>'int', 'year='=>'int'],
|
||||||
'gmp_abs' => ['GMP', 'num'=>'GMP|string|int'],
|
'gmp_abs' => ['GMP', 'num'=>'GMP|string|int'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user