From 59d37933b06e07704b12a986c33a364cb3c5f5e7 Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Wed, 3 May 2023 22:13:20 +0100 Subject: [PATCH] SplDoublyLinkedList's index is always int --- dictionaries/CallMap.php | 8 ++++---- dictionaries/CallMap_historical.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index d54ebe005..ebe832868 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -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'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index 2f88db9d1..dfdde0f5c 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -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'],