diff --git a/app/Console/Command/PremiumPurgeCommand.php b/app/Console/Command/PremiumPurgeCommand.php index d3aac91..f8895be 100644 --- a/app/Console/Command/PremiumPurgeCommand.php +++ b/app/Console/Command/PremiumPurgeCommand.php @@ -8,6 +8,7 @@ namespace Sakura\Console\Command; use CLIFramework\Command; use Sakura\DB; +use Sakura\User; /** * Starts up a development server. diff --git a/app/Router/Collection.php b/app/Router/Collection.php index 7623d3e..bbbad3b 100644 --- a/app/Router/Collection.php +++ b/app/Router/Collection.php @@ -66,7 +66,7 @@ class Collection if (!array_key_exists($method, $this->paths) || !array_key_exists($path, $this->paths[$method])) { - throw new Exception; + throw new \Exception; } return $this->paths[$method][$path]->fire();