fix missing use stmts

This commit is contained in:
flash 2016-09-21 13:26:08 +02:00
parent 55577f8ad0
commit cb187b7c02
2 changed files with 2 additions and 1 deletions

View file

@ -81,7 +81,7 @@ class Collection
public function url($name, $params = []) public function url($name, $params = [])
{ {
if (!array_key_exists($name, $this->names)) { if (!array_key_exists($name, $this->names)) {
throw new Exception; throw new \Exception;
} }
return parse_url('/' . $this->names[$name]->path, PHP_URL_PATH); return parse_url('/' . $this->names[$name]->path, PHP_URL_PATH);

View file

@ -10,6 +10,7 @@ use Carbon\Carbon;
use LastFmApi\Api\AuthApi; use LastFmApi\Api\AuthApi;
use LastFmApi\Api\UserApi; use LastFmApi\Api\UserApi;
use LastFmApi\Exception\LastFmApiExeption; use LastFmApi\Exception\LastFmApiExeption;
use Sakura\Exceptions\NetAddressTypeException;
use Sakura\Perms; use Sakura\Perms;
use Sakura\Perms\Site; use Sakura\Perms\Site;
use stdClass; use stdClass;