Completed
Push — master ( 7fa623...5c91e4 )
by Ger
22s queued 11s
created
app/Http/Controllers/Users/LoginController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Http\Controllers\Users;
6 6
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
                 $this->bus->dispatch(new LoginUserQuery($request->get('email'), $request->get('password')))
23 23
             );
24 24
         } catch (UserNotFound $exception) {
25
-            return JsonResponse::create(['error' => $exception->getMessage()], 404);
25
+            return JsonResponse::create([ 'error' => $exception->getMessage() ], 404);
26 26
         }
27 27
     }
28 28
 }
Please login to merge, or discard this patch.