diff --git a/src/Psalm/CallMap.php b/src/Psalm/CallMap.php index 34e5a571d..b38c85d5c 100644 --- a/src/Psalm/CallMap.php +++ b/src/Psalm/CallMap.php @@ -4456,10 +4456,10 @@ return [ 'is_uploaded_file' => ['bool', 'path'=>'string'], 'is_writable' => ['bool', 'filename'=>'string'], 'IteratorAggregate::getIterator' => ['Traversable'], -'iterator_apply' => ['int', 'it'=>'traversable', 'function'=>'callable', 'params='=>'array'], -'iterator_count' => ['int', 'it'=>'traversable'], +'iterator_apply' => ['int', 'it'=>'Traversable', 'function'=>'callable', 'params='=>'array'], +'iterator_count' => ['int', 'it'=>'Traversable'], 'Iterator::current' => ['mixed'], -'IteratorIterator::__construct' => ['IteratorIterator', 'it'=>'traversable'], +'IteratorIterator::__construct' => ['IteratorIterator', 'it'=>'Traversable'], 'IteratorIterator::current' => [''], 'IteratorIterator::getInnerIterator' => ['Traversable'], 'IteratorIterator::key' => [''], @@ -4469,7 +4469,7 @@ return [ 'Iterator::key' => ['scalar'], 'Iterator::next' => ['void'], 'Iterator::rewind' => ['void'], -'iterator_to_array' => ['array', 'it'=>'traversable', 'use_keys='=>'bool'], +'iterator_to_array' => ['array', 'it'=>'Traversable', 'use_keys='=>'bool'], 'Iterator::valid' => ['bool'], 'java_last_exception_clear' => [''], 'java_last_exception_get' => ['object'],