Исправлен namespace для исключений

This commit is contained in:
ErickSkrauch 2016-11-27 00:55:43 +03:00
parent 20286f1744
commit f5981f1cd1
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<?php
namespace api\components\OAuth2\Exceptions;
namespace api\components\OAuth2\Exception;
use League\OAuth2\Server\Exception\OAuthException;

View File

@ -1,5 +1,5 @@
<?php
namespace api\components\OAuth2\Exceptions;
namespace api\components\OAuth2\Exception;
class AccessDeniedException extends \League\OAuth2\Server\Exception\AccessDeniedException {

View File

@ -2,8 +2,8 @@
namespace api\controllers;
use api\filters\ActiveUserRule;
use api\components\OAuth2\Exceptions\AcceptRequiredException;
use api\components\OAuth2\Exceptions\AccessDeniedException;
use api\components\OAuth2\Exception\AcceptRequiredException;
use api\components\OAuth2\Exception\AccessDeniedException;
use common\models\Account;
use common\models\OauthClient;
use common\models\OauthScope;