@@ -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\Controllers\Posts; |
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\Posts; |
6 | 6 | |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | $this->bus->dispatch(new FindPostQuery($postId)) |
22 | 22 | ); |
23 | 23 | } catch (PostNotExist $e) { |
24 | - return JsonResponse::create(['message' => $e->getMessage()], 404); |
|
24 | + return JsonResponse::create([ 'message' => $e->getMessage() ], 404); |
|
25 | 25 | } |
26 | 26 | } |
27 | 27 | } |
@@ -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\SubForums; |
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\SubForums; |
6 | 6 | |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | $this->bus->dispatch(new FindSubForumQuery($subForumId)) |
22 | 22 | ); |
23 | 23 | } catch (SubForumNotExist $e) { |
24 | - return JsonResponse::create(['message' => $e->getMessage()], 404); |
|
24 | + return JsonResponse::create([ 'message' => $e->getMessage() ], 404); |
|
25 | 25 | } |
26 | 26 | } |
27 | 27 | } |
@@ -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 |
@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | protected function mapWebRoutes() |
53 | 53 | { |
54 | 54 | Route::middleware('web') |
55 | - ->namespace($this->namespace) |
|
56 | - ->group(base_path('routes/web.php')); |
|
55 | + ->namespace($this->namespace) |
|
56 | + ->group(base_path('routes/web.php')); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
66 | 66 | protected function mapApiRoutes() |
67 | 67 | { |
68 | 68 | Route::prefix('api') |
69 | - ->middleware('api') |
|
70 | - ->namespace($this->namespace) |
|
71 | - ->group(base_path('routes/api.php')); |
|
69 | + ->middleware('api') |
|
70 | + ->namespace($this->namespace) |
|
71 | + ->group(base_path('routes/api.php')); |
|
72 | 72 | } |
73 | 73 | } |
@@ -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\Providers; |
6 | 6 | |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | $config = config("persistence.repository-gateways"); |
16 | 16 | |
17 | 17 | foreach ($config as $gatewayInterface => $gatewayConcretions) { |
18 | - $this->app->singleton($gatewayInterface, $gatewayConcretions[$driver]); |
|
18 | + $this->app->singleton($gatewayInterface, $gatewayConcretions[ $driver ]); |
|
19 | 19 | } |
20 | 20 | } |
21 | 21 | } |
@@ -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 |