From cb187b7c02591ec72328b6c40bf5243834cd6196 Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 21 Sep 2016 13:26:08 +0200 Subject: [PATCH] fix missing use stmts --- app/Router/Collection.php | 2 +- app/User.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Router/Collection.php b/app/Router/Collection.php index bbbad3b..d430c8a 100644 --- a/app/Router/Collection.php +++ b/app/Router/Collection.php @@ -81,7 +81,7 @@ class Collection public function url($name, $params = []) { if (!array_key_exists($name, $this->names)) { - throw new Exception; + throw new \Exception; } return parse_url('/' . $this->names[$name]->path, PHP_URL_PATH); diff --git a/app/User.php b/app/User.php index c6064a0..0b5850e 100644 --- a/app/User.php +++ b/app/User.php @@ -10,6 +10,7 @@ use Carbon\Carbon; use LastFmApi\Api\AuthApi; use LastFmApi\Api\UserApi; use LastFmApi\Exception\LastFmApiExeption; +use Sakura\Exceptions\NetAddressTypeException; use Sakura\Perms; use Sakura\Perms\Site; use stdClass;