@@ -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 Chubbyphp\ApiSkeleton; |
| 6 | 6 | |
@@ -15,11 +15,11 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | $container->register(new DoctrineServiceProvider()); |
| 17 | 17 | |
| 18 | -$container[ArrayStorageCache::class] = function () { |
|
| 18 | +$container[ArrayStorageCache::class] = function() { |
|
| 19 | 19 | return new ArrayStorageCache(); |
| 20 | 20 | }; |
| 21 | 21 | |
| 22 | -$container[CourseRepository::class] = function () use ($container) { |
|
| 22 | +$container[CourseRepository::class] = function() use ($container) { |
|
| 23 | 23 | return new CourseRepository( |
| 24 | 24 | $container['db'], |
| 25 | 25 | $container[Resolver::class], |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | ); |
| 29 | 29 | }; |
| 30 | 30 | |
| 31 | -$container[DocumentRepository::class] = function () use ($container) { |
|
| 31 | +$container[DocumentRepository::class] = function() use ($container) { |
|
| 32 | 32 | return new DocumentRepository( |
| 33 | 33 | $container['db'], |
| 34 | 34 | $container[Resolver::class], |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | ); |
| 38 | 38 | }; |
| 39 | 39 | |
| 40 | -$container[Resolver::class] = function () use ($container) { |
|
| 40 | +$container[Resolver::class] = function() use ($container) { |
|
| 41 | 41 | return new Resolver($container, [ |
| 42 | 42 | CourseRepository::class, |
| 43 | 43 | DocumentRepository::class, |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\ApiSkeleton\Serialization; |
| 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 Chubbyphp\ApiSkeleton\Validation; |
| 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 Chubbyphp\ApiSkeleton\Deserialization; |
| 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 Chubbyphp\ApiSkeleton\Model; |
| 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 Chubbyphp\ApiSkeleton\Repository; |
| 6 | 6 | |