@@ -96,10 +96,7 @@ public function __unset($name)
96
96
}
97
97
98
98
/**
99
- * Check if an offset axists
100
- *
101
- * @param mixed $offset
102
- * @return boolean Whether or not this object contains $offset
99
+ * @return bool
103
100
*/
104
101
#[\ReturnTypeWillChange]
105
102
public function offsetExists ($ offset )
@@ -108,10 +105,6 @@ public function offsetExists($offset)
108
105
}
109
106
110
107
/**
111
- * An alias of get()
112
- *
113
- * @see get, __get
114
- * @param mixed $offset
115
108
* @return mixed
116
109
*/
117
110
#[\ReturnTypeWillChange]
@@ -127,11 +120,6 @@ public function offsetGet($offset)
127
120
}
128
121
129
122
/**
130
- * Sets $offset to $value
131
- *
132
- * @see set, __set
133
- * @param mixed $offset
134
- * @param mixed $value
135
123
* @return void
136
124
*/
137
125
#[\ReturnTypeWillChange]
@@ -145,22 +133,19 @@ public function offsetSet($offset, $value)
145
133
}
146
134
147
135
/**
148
- * Unset a given offset
149
- *
150
- * @see set, offsetSet, __set
151
- * @param mixed $offset
136
+ * @return void
152
137
*/
153
138
#[\ReturnTypeWillChange]
154
139
public function offsetUnset ($ offset )
155
140
{
156
- return $ this ->remove ($ offset );
141
+ $ this ->remove ($ offset );
157
142
}
158
143
159
144
/**
160
145
* Remove the element with the specified offset
161
146
*
162
147
* @param mixed $offset The offset to remove
163
- * @return boolean True if removed otherwise false
148
+ * @return bool True if removed otherwise false
164
149
*/
165
150
public function remove ($ offset )
166
151
{
@@ -191,8 +176,8 @@ public function set($offset, $value)
191
176
}
192
177
193
178
/**
194
- * Check if the specified offset exists
195
- *
179
+ * Check if the specified offset exists
180
+ *
196
181
* @param mixed $offset The offset to check
197
182
* @return boolean True if exists otherwise false
198
183
*/
@@ -202,9 +187,9 @@ public function contains($offset)
202
187
}
203
188
204
189
/**
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
208
193
* @return void
209
194
*/
210
195
public function add ($ value )
0 commit comments