fixed missing references

This commit is contained in:
flash 2016-09-16 21:06:09 +02:00
parent 8b603d5e37
commit 858ebeb1fa
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ namespace Sakura\Console\Command;
use CLIFramework\Command; use CLIFramework\Command;
use Sakura\DB; use Sakura\DB;
use Sakura\User;
/** /**
* Starts up a development server. * Starts up a development server.

View file

@ -66,7 +66,7 @@ class Collection
if (!array_key_exists($method, $this->paths) if (!array_key_exists($method, $this->paths)
|| !array_key_exists($path, $this->paths[$method])) { || !array_key_exists($path, $this->paths[$method])) {
throw new Exception; throw new \Exception;
} }
return $this->paths[$method][$path]->fire(); return $this->paths[$method][$path]->fire();