Skip to content

Commit 36cae69

Browse files
committed
Add static warnings
1 parent d931b61 commit 36cae69

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/ArgumentArray.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,10 @@ public function offsetExists($offset): bool
116116

117117
/**
118118
* Get item from container
119-
*
120-
* @param mixed $offset
121-
* @return mixed
122119
*/
123120
public function offsetGet($offset)
124121
{
125-
return isset($this->container[$offset]) ? $this->container[$offset] : null;
122+
return $this->container[$offset];
126123
}
127124

128125
/**
@@ -204,9 +201,6 @@ public function merge(array $array): void
204201
$this->container = array_merge($array, $this->container);
205202
}
206203

207-
/**
208-
* @return mixed
209-
*/
210204
public function current()
211205
{
212206
$current_key = $this->getCurrentKey();

0 commit comments

Comments
 (0)