Passed
Push — 2.0 ( d495c9...3d053b )
by Kirill
03:10
created
server/app/GraphQL/Mutations/AuthMutation.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,6 @@
 block discarded – undo
15 15
 use GraphQL\Type\Definition\Type;
16 16
 use GraphQL\Type\Definition\ObjectType;
17 17
 use App\GraphQL\Serializers\UserSerializer;
18
-use Illuminate\Contracts\Auth\Authenticatable;
19
-use Illuminate\Contracts\Validation\Validator;
20 18
 use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
21 19
 
22 20
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\GraphQL\Mutations;
10 10
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
         $user = $this->tokenAuth->attemptFromEmailAndPassword($email, $password);
105 105
 
106
-        if (! $user) {
106
+        if (!$user) {
107 107
             throw new AccessDeniedHttpException('User password are not correct');
108 108
         }
109 109
 
Please login to merge, or discard this patch.