@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace App\Models; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace App\Models; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace App\Models; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace App\Http\Controllers\Posts; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace App\Http\Controllers\Responses; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace App\Http\Middleware; |
6 | 6 |
@@ -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 | } |
@@ -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 | |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | ) |
25 | 25 | ); |
26 | 26 | } catch (Exception $exception) { |
27 | - return JsonResponse::create(['error' => $exception->getMessage()], 400); |
|
27 | + return JsonResponse::create([ 'error' => $exception->getMessage() ], 400); |
|
28 | 28 | } |
29 | 29 | } |
30 | 30 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace App\Http\Controllers\Posts; |
6 | 6 |