From 858ebeb1faa936fd9d5bf5bbb43911a68edab3b5 Mon Sep 17 00:00:00 2001 From: flashwave Date: Fri, 16 Sep 2016 21:06:09 +0200 Subject: [PATCH] fixed missing references --- app/Console/Command/PremiumPurgeCommand.php | 1 + app/Router/Collection.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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();