@@ -1,6 +1,6 @@ discard block |
||
| 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 |
||
| 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 | } |