@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return [ |
4 | - 'settings' => [ |
|
4 | + 'settings' => [ |
|
5 | 5 | 'displayErrorDetails' => true, |
6 | 6 | 'routerCacheFile' => false, |
7 | 7 | ], |
@@ -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\ApiHttp; |
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; |
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 | if (!$loader = @include __DIR__.'/../vendor/autoload.php') { |
6 | 6 | die('curl -s http://getcomposer.org/installer | php; php composer.phar install'); |
@@ -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 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | ); |
34 | 34 | |
35 | 35 | // slim settings |
36 | -$container->extend('settings', function (Collection $settings) use ($config) { |
|
36 | +$container->extend('settings', function(Collection $settings) use ($config) { |
|
37 | 37 | $settings->replace($config['settings']); |
38 | 38 | |
39 | 39 | return $settings; |
@@ -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 |
@@ -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\Controller; |
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\Search; |
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 Chubbyphp\ApiSkeleton\Provider; |
6 | 6 | |
@@ -17,11 +17,11 @@ discard block |
||
17 | 17 | $container['console.name'] = 'chubbyphp-api-slim-skeleton'; |
18 | 18 | $container['console.version'] = '1.0'; |
19 | 19 | |
20 | - $container['console.helpers'] = function () { |
|
20 | + $container['console.helpers'] = function() { |
|
21 | 21 | return []; |
22 | 22 | }; |
23 | 23 | |
24 | - $container['console.commands'] = function () { |
|
24 | + $container['console.commands'] = function() { |
|
25 | 25 | return []; |
26 | 26 | }; |
27 | 27 | } |