diff --git a/src/Psalm/CallMap.php b/src/Psalm/CallMap.php index ccdcc4f1b..aa5f81193 100644 --- a/src/Psalm/CallMap.php +++ b/src/Psalm/CallMap.php @@ -3159,7 +3159,7 @@ return [ 'gettext' => ['string', 'msgid'=>'string'], 'gettimeofday' => ['array|float', 'get_as_float='=>'bool'], 'gettype' => ['string', 'var'=>'mixed'], -'glob' => ['array', 'pattern'=>'string', 'flags='=>'int'], +'glob' => ['false|array', 'pattern'=>'string', 'flags='=>'int'], 'GlobIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'], 'GlobIterator::cont' => ['int'], 'GlobIterator::count' => ['int'],