We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d931b61 commit 36cae69Copy full SHA for 36cae69
src/ArgumentArray.php
@@ -116,13 +116,10 @@ public function offsetExists($offset): bool
116
117
/**
118
* Get item from container
119
- *
120
- * @param mixed $offset
121
- * @return mixed
122
*/
123
public function offsetGet($offset)
124
{
125
- return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ return $this->container[$offset];
126
}
127
128
@@ -204,9 +201,6 @@ public function merge(array $array): void
204
201
$this->container = array_merge($array, $this->container);
205
202
206
203
207
- /**
208
209
- */
210
public function current()
211
212
$current_key = $this->getCurrentKey();
0 commit comments