@@ -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 |
@@ -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 |
@@ -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 |