diff --git a/src/Container.php b/src/Container.php index 9f382bc..964069c 100644 --- a/src/Container.php +++ b/src/Container.php @@ -36,7 +36,7 @@ public function get($id) */ public function has($id) { - if (isset($this->entries[$id])) { + if (array_key_exists($id, $this->entries)) { return true; }