@@ -118,6 +118,7 @@ public function hasArgument(string $key)
118
118
*
119
119
* @throws \InvalidArgumentException if key does not exist in $this->args
120
120
*/
121
+ #[\ReturnTypeWillChange]
121
122
public function offsetGet ($ key )
122
123
{
123
124
return $ this ->getArgument ($ key );
@@ -131,6 +132,7 @@ public function offsetGet($key)
131
132
*
132
133
* @return void
133
134
*/
135
+ #[\ReturnTypeWillChange]
134
136
public function offsetSet ($ key , $ value )
135
137
{
136
138
$ this ->setArgument ($ key , $ value );
@@ -143,6 +145,7 @@ public function offsetSet($key, $value)
143
145
*
144
146
* @return void
145
147
*/
148
+ #[\ReturnTypeWillChange]
146
149
public function offsetUnset ($ key )
147
150
{
148
151
if ($ this ->hasArgument ($ key )) {
@@ -157,6 +160,7 @@ public function offsetUnset($key)
157
160
*
158
161
* @return bool
159
162
*/
163
+ #[\ReturnTypeWillChange]
160
164
public function offsetExists ($ key )
161
165
{
162
166
return $ this ->hasArgument ($ key );
@@ -167,6 +171,7 @@ public function offsetExists($key)
167
171
*
168
172
* @return \ArrayIterator
169
173
*/
174
+ #[\ReturnTypeWillChange]
170
175
public function getIterator ()
171
176
{
172
177
return new \ArrayIterator ($ this ->arguments );
0 commit comments