@@ -56,7 +56,6 @@ discard block |
||
| 56 | 56 | /** |
| 57 | 57 | * This action revokes the authentication token. This make sure the token can not be used on any other site. |
| 58 | 58 | * |
| 59 | - * @param Request $request |
|
| 60 | 59 | * @param $name |
| 61 | 60 | * |
| 62 | 61 | * @return Response |
@@ -78,7 +77,6 @@ discard block |
||
| 78 | 77 | /** |
| 79 | 78 | * This action removes the authentication token form the storage. |
| 80 | 79 | * |
| 81 | - * @param Request $request |
|
| 82 | 80 | * @param $name |
| 83 | 81 | * |
| 84 | 82 | * @return Response |
@@ -4,8 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Happyr\GoogleSiteAuthenticatorBundle\Model\TokenConfig; |
| 6 | 6 | use Happyr\GoogleSiteAuthenticatorBundle\Service\ClientProvider; |
| 7 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 8 | -use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; |
|
| 9 | 7 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 10 | 8 | use Symfony\Component\HttpFoundation\Request; |
| 11 | 9 | use Symfony\Component\HttpFoundation\Response; |
@@ -76,6 +76,7 @@ |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * Store the access token in the storage. |
| 79 | + * @param null|string $accessToken |
|
| 79 | 80 | */ |
| 80 | 81 | public function setAccessToken(?string $accessToken, string $tokenName = null) |
| 81 | 82 | { |