Completed
Pull Request — master (#5)
by Valentyn
07:26
created
src/Controller/UserController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -9,10 +9,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Security/UserProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.