fix missing use stmts
This commit is contained in:
parent
55577f8ad0
commit
cb187b7c02
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Reference in a new issue