Permalink
Browse files

Fixed Phactory exception that didn't use the global namespace

  • Loading branch information...
1 parent b0dd6b4 commit 07531be16e82228950b3503b32cbbdf50ff73546 @rbone rbone committed Jul 31, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Phactory/Loader.php
View
@@ -20,6 +20,6 @@ public function load($name)
if (class_exists($class))
return new $class;
- throw new Exception("Unknown factory '$name'");
+ throw new \Exception("Unknown factory '$name'");
}
-}
+}

0 comments on commit 07531be

Please sign in to comment.