@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * @param InputInterface $input |
50 | 50 | * @param OutputInterface $output |
51 | - * @return int|null|Client |
|
51 | + * @return null|Client |
|
52 | 52 | * @throws \Doctrine\ORM\OptimisticLockException |
53 | 53 | */ |
54 | 54 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * @param null|string|null $clientSecret |
16 | 16 | * @param bool $mustValidateSecret |
17 | 17 | * |
18 | - * @return ClientEntityInterface|null |
|
18 | + * @return null|Client |
|
19 | 19 | */ |
20 | 20 | public function getClientEntity($clientIdentifier, $grantType, $clientSecret = null, $mustValidateSecret = true) |
21 | 21 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Del\Repository\UserRepository as UserRepo; |
6 | 6 | use League\OAuth2\Server\Entities\ClientEntityInterface; |
7 | -use League\OAuth2\Server\Entities\UserEntityInterface; |
|
8 | 7 | use League\OAuth2\Server\Repositories\UserRepositoryInterface; |
9 | 8 | use OAuth\Client; |
10 | 9 |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use DateTime; |
6 | 6 | use Swagger; |
7 | 7 | use Zend\Diactoros\Response; |
8 | -use Zend\Diactoros\Stream; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * @SWG\Swagger( |