@@ -29,6 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param string $about |
| 32 | + * @return void |
|
| 32 | 33 | */ |
| 33 | 34 | public function setAbout(string $about); |
| 34 | 35 | |
@@ -39,6 +40,7 @@ discard block |
||
| 39 | 40 | |
| 40 | 41 | /** |
| 41 | 42 | * @param string $firstName |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function setFirstName(string $firstName); |
| 44 | 46 | |
@@ -49,6 +51,7 @@ discard block |
||
| 49 | 51 | |
| 50 | 52 | /** |
| 51 | 53 | * @param string $lastName |
| 54 | + * @return void |
|
| 52 | 55 | */ |
| 53 | 56 | public function setLastName(string $lastName); |
| 54 | 57 | |
@@ -59,6 +62,7 @@ discard block |
||
| 59 | 62 | |
| 60 | 63 | /** |
| 61 | 64 | * @param string $externalId |
| 65 | + * @return void |
|
| 62 | 66 | */ |
| 63 | 67 | public function setExternalId(string $externalId); |
| 64 | 68 | } |
@@ -4,9 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace SWP\Bundle\CoreBundle\Security\Authenticator; |
| 6 | 6 | |
| 7 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 8 | -use SWP\Bundle\CoreBundle\Model\UserInterface as CoreUserInterface; |
|
| 9 | -use SWP\Bundle\CoreBundle\Security\Provider\UserProvider; |
|
| 10 | 7 | use Symfony\Component\Security\Core\User\UserInterface; |
| 11 | 8 | use KnpU\OAuth2ClientBundle\Security\Authenticator\SocialAuthenticator; |
| 12 | 9 | use KnpU\OAuth2ClientBundle\Client\ClientRegistry; |
@@ -4,12 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace SWP\Bundle\CoreBundle\Controller; |
| 6 | 6 | |
| 7 | -use KnpU\OAuth2ClientBundle\Client\ClientRegistry; |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | 8 | use Symfony\Component\HttpFoundation\Response; |
| 10 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 11 | -use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; |
|
| 12 | -use League\OAuth2\Client\Provider\Exception\IdentityProviderException; |
|
| 13 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 14 | 10 | use Symfony\Component\Routing\Annotation\Route; |
| 15 | 11 | |