From 3112514b68bacecc9b9c3813c542c2d53dacd0e8 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Fri, 26 Dec 2014 01:43:17 +0200 Subject: [PATCH] fix namespace --- src/container.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/container.php b/src/container.php index 6859be7..b786268 100644 --- a/src/container.php +++ b/src/container.php @@ -11,7 +11,7 @@ class Container public function getWithArgs($id, $args) { if (!array_key_exists($id, $this->values)) - throw new InvalidArgumentException('Identifier "'.$id.'" is not defined.'); + throw new \InvalidArgumentException('Identifier "'.$id.'" is not defined.'); $v = $this->values[$id]; if ($v[0] == 'function') { -- 2.49.0