@@ -123,6 +123,7 @@ public function hasArgument($key)
123
123
*
124
124
* @throws \InvalidArgumentException if key does not exist in $this->args
125
125
*/
126
+ #[\ReturnTypeWillChange]
126
127
public function offsetGet ($ key )
127
128
{
128
129
return $ this ->getArgument ($ key );
@@ -136,6 +137,7 @@ public function offsetGet($key)
136
137
*
137
138
* @return void
138
139
*/
140
+ #[\ReturnTypeWillChange]
139
141
public function offsetSet ($ key , $ value )
140
142
{
141
143
$ this ->setArgument ($ key , $ value );
@@ -148,6 +150,7 @@ public function offsetSet($key, $value)
148
150
*
149
151
* @return void
150
152
*/
153
+ #[\ReturnTypeWillChange]
151
154
public function offsetUnset ($ key )
152
155
{
153
156
if ($ this ->hasArgument ($ key )) {
@@ -162,6 +165,7 @@ public function offsetUnset($key)
162
165
*
163
166
* @return bool
164
167
*/
168
+ #[\ReturnTypeWillChange]
165
169
public function offsetExists ($ key )
166
170
{
167
171
return $ this ->hasArgument ($ key );
@@ -172,6 +176,7 @@ public function offsetExists($key)
172
176
*
173
177
* @return \ArrayIterator
174
178
*/
179
+ #[\ReturnTypeWillChange]
175
180
public function getIterator ()
176
181
{
177
182
return new \ArrayIterator ($ this ->arguments );
0 commit comments