mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
SplDoublyLinkedList's index is always int
This commit is contained in:
parent
a5effd2d2d
commit
59d37933b0
@ -12264,10 +12264,10 @@ return [
|
||||
'SplDoublyLinkedList::isEmpty' => ['bool'],
|
||||
'SplDoublyLinkedList::key' => ['int'],
|
||||
'SplDoublyLinkedList::next' => ['void'],
|
||||
'SplDoublyLinkedList::offsetExists' => ['bool', 'index'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetGet' => ['mixed', 'index'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetSet' => ['void', 'index'=>'mixed', 'value'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetUnset' => ['void', 'index'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetExists' => ['bool', 'index'=>'int'],
|
||||
'SplDoublyLinkedList::offsetGet' => ['mixed', 'index'=>'int'],
|
||||
'SplDoublyLinkedList::offsetSet' => ['void', 'index'=>'?int', 'value'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetUnset' => ['void', 'index'=>'int'],
|
||||
'SplDoublyLinkedList::pop' => ['mixed'],
|
||||
'SplDoublyLinkedList::prev' => ['void'],
|
||||
'SplDoublyLinkedList::push' => ['void', 'value'=>'mixed'],
|
||||
|
@ -7488,10 +7488,10 @@ return [
|
||||
'SplDoublyLinkedList::isEmpty' => ['bool'],
|
||||
'SplDoublyLinkedList::key' => ['int'],
|
||||
'SplDoublyLinkedList::next' => ['void'],
|
||||
'SplDoublyLinkedList::offsetExists' => ['bool', 'index'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetGet' => ['mixed', 'index'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetSet' => ['void', 'index'=>'mixed', 'value'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetUnset' => ['void', 'index'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetExists' => ['bool', 'index'=>'int'],
|
||||
'SplDoublyLinkedList::offsetGet' => ['mixed', 'index'=>'int'],
|
||||
'SplDoublyLinkedList::offsetSet' => ['void', 'index'=>'?int', 'value'=>'mixed'],
|
||||
'SplDoublyLinkedList::offsetUnset' => ['void', 'index'=>'int'],
|
||||
'SplDoublyLinkedList::pop' => ['mixed'],
|
||||
'SplDoublyLinkedList::prev' => ['void'],
|
||||
'SplDoublyLinkedList::push' => ['void', 'value'=>'mixed'],
|
||||
|
Loading…
Reference in New Issue
Block a user