diff --git a/SPL/SPL_c1.php b/SPL/SPL_c1.php index 23815b60e..a58bd686c 100644 --- a/SPL/SPL_c1.php +++ b/SPL/SPL_c1.php @@ -1063,7 +1063,7 @@ class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializa /** * Add/insert a new value at the specified index * @param mixed $index The index where the new value is to be inserted. - * @param mixed $value The new value for the index. + * @param TValue $value The new value for the index. * @return void * @link https://php.net/spldoublylinkedlist.add * @since 5.5 @@ -1077,7 +1077,7 @@ public function add( /** * Pops a node from the end of the doubly linked list * @link https://php.net/manual/en/spldoublylinkedlist.pop.php - * @return mixed The value of the popped node. + * @return TValue The value of the popped node. */ #[TentativeType] public function pop(): mixed {} @@ -1085,7 +1085,7 @@ public function pop(): mixed {} /** * Shifts a node from the beginning of the doubly linked list * @link https://php.net/manual/en/spldoublylinkedlist.shift.php - * @return mixed The value of the shifted node. + * @return TValue The value of the shifted node. */ #[TentativeType] public function shift(): mixed {} @@ -1093,7 +1093,7 @@ public function shift(): mixed {} /** * Pushes an element at the end of the doubly linked list * @link https://php.net/manual/en/spldoublylinkedlist.push.php - * @param mixed $value
+ * @param TValue $value
* The value to push. *
* @return void @@ -1104,7 +1104,7 @@ public function push(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] /** * Prepends the doubly linked list with an element * @link https://php.net/manual/en/spldoublylinkedlist.unshift.php - * @param mixed $value+ * @param TValue $value
* The value to unshift. *
* @return void @@ -1115,7 +1115,7 @@ public function unshift(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '' /** * Peeks at the node from the end of the doubly linked list * @link https://php.net/manual/en/spldoublylinkedlist.top.php - * @return mixed The value of the last node. + * @return TValue The value of the last node. */ #[TentativeType] public function top(): mixed {} @@ -1123,7 +1123,7 @@ public function top(): mixed {} /** * Peeks at the node from the beginning of the doubly linked list * @link https://php.net/manual/en/spldoublylinkedlist.bottom.php - * @return mixed The value of the first node. + * @return TValue The value of the first node. */ #[TentativeType] public function bottom(): mixed {} @@ -1182,7 +1182,7 @@ public function offsetExists($index): bool {} * @param mixed $index* The index with the value. *
- * @return mixed The value at the specified index. + * @return TValue The value at the specified index. */ #[TentativeType] public function offsetGet($index): mixed {} @@ -1193,7 +1193,7 @@ public function offsetGet($index): mixed {} * @param mixed $index* The index being set. *
- * @param mixed $value+ * @param TValue $value
* The new value for the index. *
* @return void @@ -1223,7 +1223,7 @@ public function rewind(): void {} /** * Return current array entry * @link https://php.net/manual/en/spldoublylinkedlist.current.php - * @return mixed The current node value. + * @return TValue The current node value. */ #[TentativeType] public function current(): mixed {}