fixed missing references
This commit is contained in:
parent
8b603d5e37
commit
858ebeb1fa
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Reference in a new issue