Skip to content

Commit

Permalink
Update nexus container
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljennings committed Oct 7, 2015
1 parent e83cabb commit a56fa77
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Nexus/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ public function offsetGet($key)
*/
public function offsetSet($key, $value)
{
if (is_null($key)) {
$this->items[] = $value;
} else {
$this->items[$key] = $value;
}
$this->items[$key] = $value;
}

/**
Expand Down

0 comments on commit a56fa77

Please sign in to comment.