Skip to content

Commit

Permalink
🐛 Documented a bug discovered during #7, raised as issue #10
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dann committed Nov 18, 2016
1 parent f6dbf32 commit 652d302
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ArrayContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function set($key, $value)
*/
public function remove($key)
{
// @todo there is a bug here where this does not remove nested keys!
unset($this->items[$key]);
unset($this->nestedKeyCache[$key]);
}
Expand Down

0 comments on commit 652d302

Please sign in to comment.