@@ -96,10 +96,7 @@ public function __unset($name)
9696 }
9797
9898 /**
99- * Check if an offset axists
100- *
101- * @param mixed $offset
102- * @return boolean Whether or not this object contains $offset
99+ * @return bool
103100 */
104101 #[\ReturnTypeWillChange]
105102 public function offsetExists ($ offset )
@@ -108,10 +105,6 @@ public function offsetExists($offset)
108105 }
109106
110107 /**
111- * An alias of get()
112- *
113- * @see get, __get
114- * @param mixed $offset
115108 * @return mixed
116109 */
117110 #[\ReturnTypeWillChange]
@@ -127,11 +120,6 @@ public function offsetGet($offset)
127120 }
128121
129122 /**
130- * Sets $offset to $value
131- *
132- * @see set, __set
133- * @param mixed $offset
134- * @param mixed $value
135123 * @return void
136124 */
137125 #[\ReturnTypeWillChange]
@@ -145,22 +133,19 @@ public function offsetSet($offset, $value)
145133 }
146134
147135 /**
148- * Unset a given offset
149- *
150- * @see set, offsetSet, __set
151- * @param mixed $offset
136+ * @return void
152137 */
153138 #[\ReturnTypeWillChange]
154139 public function offsetUnset ($ offset )
155140 {
156- return $ this ->remove ($ offset );
141+ $ this ->remove ($ offset );
157142 }
158143
159144 /**
160145 * Remove the element with the specified offset
161146 *
162147 * @param mixed $offset The offset to remove
163- * @return boolean True if removed otherwise false
148+ * @return bool True if removed otherwise false
164149 */
165150 public function remove ($ offset )
166151 {
@@ -191,8 +176,8 @@ public function set($offset, $value)
191176 }
192177
193178 /**
194- * Check if the specified offset exists
195- *
179+ * Check if the specified offset exists
180+ *
196181 * @param mixed $offset The offset to check
197182 * @return boolean True if exists otherwise false
198183 */
@@ -202,9 +187,9 @@ public function contains($offset)
202187 }
203188
204189 /**
205- * Add the value
206- *
207- * @param mixed $value The value to add
190+ * Add the value
191+ *
192+ * @param mixed $value The value to add
208193 * @return void
209194 */
210195 public function add ($ value )
0 commit comments