@@ -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) |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Del\Service\UserService; |
| 6 | 6 | use OAuth\Client; |
| 7 | 7 | use OAuth\Service\ClientService; |
| 8 | -use OAuth\OAuthUser; |
|
| 9 | 8 | use Symfony\Component\Console\Command\Command; |
| 10 | 9 | use Symfony\Component\Console\Input\InputInterface; |
| 11 | 10 | use Symfony\Component\Console\Output\OutputInterface; |
@@ -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 | |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | /** |
| 136 | 136 | * Get the token user's identifier. |
| 137 | 137 | * |
| 138 | - * @return User |
|
| 138 | + * @return OAuthUser |
|
| 139 | 139 | */ |
| 140 | 140 | public function getUserIdentifier() |
| 141 | 141 | { |