]> git.andy128k.dev Git - missing-tools.git/commitdiff
fix namespace
authorAndrey Kutejko <andy128k@gmail.com>
Thu, 25 Dec 2014 23:43:17 +0000 (01:43 +0200)
committerAndrey Kutejko <andy128k@gmail.com>
Thu, 25 Dec 2014 23:43:17 +0000 (01:43 +0200)
src/container.php

index 6859be7cc8d865c1cc394430dcdd1b13d250dfa1..b786268d02947b07454f534ec8d0106afeadaa6b 100644 (file)
@@ -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') {