mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Merge pull request #7331 from ricardoboss/iterator-count-is-positive
This commit is contained in:
commit
9bd28a2f68
@ -6571,8 +6571,8 @@ return [
|
||||
'Iterator::next' => ['void'],
|
||||
'Iterator::rewind' => ['void'],
|
||||
'Iterator::valid' => ['bool'],
|
||||
'iterator_apply' => ['int', 'iterator'=>'Traversable', 'callback'=>'callable(mixed):bool', 'args='=>'array'],
|
||||
'iterator_count' => ['int', 'iterator'=>'Traversable'],
|
||||
'iterator_apply' => ['0|positive-int', 'iterator'=>'Traversable', 'callback'=>'callable(mixed):bool', 'args='=>'array'],
|
||||
'iterator_count' => ['0|positive-int', 'iterator'=>'Traversable'],
|
||||
'iterator_to_array' => ['array', 'iterator'=>'Traversable', 'preserve_keys='=>'bool'],
|
||||
'IteratorAggregate::getIterator' => ['Traversable'],
|
||||
'IteratorIterator::__construct' => ['void', 'it'=>'Traversable'],
|
||||
|
@ -12368,8 +12368,8 @@ return [
|
||||
'is_writable' => ['bool', 'filename'=>'string'],
|
||||
'is_writeable' => ['bool', 'filename'=>'string'],
|
||||
'isset' => ['bool', 'value'=>'mixed', '...rest='=>'mixed'],
|
||||
'iterator_apply' => ['int', 'iterator'=>'Traversable', 'callback'=>'callable(mixed):bool', 'args='=>'array'],
|
||||
'iterator_count' => ['int', 'iterator'=>'Traversable'],
|
||||
'iterator_apply' => ['0|positive-int', 'iterator'=>'Traversable', 'callback'=>'callable(mixed):bool', 'args='=>'array'],
|
||||
'iterator_count' => ['0|positive-int', 'iterator'=>'Traversable'],
|
||||
'iterator_to_array' => ['array', 'iterator'=>'Traversable', 'preserve_keys='=>'bool'],
|
||||
'java_last_exception_clear' => ['void'],
|
||||
'java_last_exception_get' => ['object'],
|
||||
|
Loading…
Reference in New Issue
Block a user