@@ -19,7 +19,7 @@ |
||
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | - * @param $return |
|
| 22 | + * @param string[] $return |
|
| 23 | 23 | * @return array |
| 24 | 24 | */ |
| 25 | 25 | protected function appendRepositoriesToProvide($return) |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @param null $basePath |
|
| 51 | + * @param string $basePath |
|
| 52 | 52 | * @return bool |
| 53 | 53 | */ |
| 54 | 54 | public static function generateKeys($basePath = null) |
@@ -3,20 +3,7 @@ |
||
| 3 | 3 | namespace ByTIC\Hello\Tests; |
| 4 | 4 | |
| 5 | 5 | use ByTIC\Hello\HelloServiceProvider; |
| 6 | -use ByTIC\Hello\Utility\ConfigHelper; |
|
| 7 | -use ByTIC\Hello\Utility\ModelsHelper; |
|
| 8 | -use League\OAuth2\Server\AuthorizationServer; |
|
| 9 | -use Mockery as m; |
|
| 10 | -use Nip\Config\Config; |
|
| 11 | 6 | use Nip\Container\Container; |
| 12 | - |
|
| 13 | -use League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface; |
|
| 14 | -use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface; |
|
| 15 | -use League\OAuth2\Server\Repositories\ClientRepositoryInterface; |
|
| 16 | -use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
|
| 17 | -use League\OAuth2\Server\Repositories\ScopeRepositoryInterface; |
|
| 18 | -use League\OAuth2\Server\Repositories\UserRepositoryInterface; |
|
| 19 | -use Nip\Records\RecordManager; |
|
| 20 | 7 | use Nip\Request; |
| 21 | 8 | use Nip\Router\Router; |
| 22 | 9 | |
@@ -7,8 +7,6 @@ |
||
| 7 | 7 | use ByTIC\Hello\Models\Clients\Client; |
| 8 | 8 | use ByTIC\Hello\Tests\AbstractTest; |
| 9 | 9 | use ByTIC\Hello\Tests\Fixtures\Models\Users\User; |
| 10 | -use Nip\Database\Adapters\MySQLi; |
|
| 11 | -use Nip\Database\Connections\Connection; |
|
| 12 | 10 | use Nip\Database\Query\Condition\AndCondition; |
| 13 | 11 | use Nip\Database\Query\Select; |
| 14 | 12 | use Nip\Records\Collections\Collection; |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | |
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | - * @param null|string $name |
|
| 69 | + * @param null|string $nameIn |
|
| 70 | 70 | * @dataProvider createDataProvider |
| 71 | 71 | */ |
| 72 | 72 | public function testCreate($nameIn, $nameOut) |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use ByTIC\Hello\Models\Users\Logins\UsersLogin; |
| 6 | 6 | use ByTIC\Hello\Models\Users\Traits\UsersTrait; |
| 7 | 7 | use ByTIC\Hello\Models\Users\Traits\UserTrait; |
| 8 | -use Nip\Records\Locator\ModelLocator; |
|
| 9 | 8 | use Nip\Records\RecordManager; |
| 10 | 9 | |
| 11 | 10 | /** |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * @param UserTrait $item |
|
| 18 | + * @param \ByTIC\Auth\Models\Users\Traits\Authentication\AuthenticationUserTrait $item |
|
| 19 | 19 | */ |
| 20 | 20 | public function beforeSetCurrent($item) |
| 21 | 21 | { |