1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

glob can return false (#828)

This commit is contained in:
François Kooman 2018-06-19 16:15:05 +02:00 committed by Matthew Brown
parent 2be0f68d87
commit 89f78befa7

View File

@ -3159,7 +3159,7 @@ return [
'gettext' => ['string', 'msgid'=>'string'],
'gettimeofday' => ['array|float', 'get_as_float='=>'bool'],
'gettype' => ['string', 'var'=>'mixed'],
'glob' => ['array<int, string>', 'pattern'=>'string', 'flags='=>'int'],
'glob' => ['false|array<int, string>', 'pattern'=>'string', 'flags='=>'int'],
'GlobIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'],
'GlobIterator::cont' => ['int'],
'GlobIterator::count' => ['int'],