@@ -9,10 +9,8 @@ |
||
| 9 | 9 | use Symfony\Component\HttpFoundation\Request; |
| 10 | 10 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 11 | 11 | use Nelmio\ApiDocBundle\Annotation\Model; |
| 12 | -use Nelmio\ApiDocBundle\Annotation\Security; |
|
| 13 | 12 | use Swagger\Annotations as SWG; |
| 14 | 13 | use Symfony\Component\Routing\Annotation\Route; |
| 15 | -use App\Form\RegistrationForm; |
|
| 16 | 14 | use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface; |
| 17 | 15 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
| 18 | 16 | use FOS\RestBundle\View\ViewHandler; |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | * |
| 69 | 69 | * @param string $username |
| 70 | 70 | * |
| 71 | - * @return User|null |
|
| 71 | + * @return UserInterface|null |
|
| 72 | 72 | */ |
| 73 | 73 | protected function findUser($username) |
| 74 | 74 | { |