From: Andrey Kutejko Date: Thu, 25 Dec 2014 23:43:17 +0000 (+0200) Subject: fix namespace X-Git-Tag: 0.2~6 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=3112514b68bacecc9b9c3813c542c2d53dacd0e8;p=missing-tools.git fix namespace --- 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') {