@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex\Quickstart\Shared\Factory; |
4 | 4 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | CommandBus::class => DI\factory([CommandBusFactory::class, 'create']) |
60 | 60 | ->parameter('locator', DI\get(HandlerLocator::class)), |
61 | 61 | |
62 | - HandleBadRequests::class => function (ContainerInterface $c) { |
|
62 | + HandleBadRequests::class => function(ContainerInterface $c) { |
|
63 | 63 | return new HandleBadRequests( |
64 | 64 | $c->get(SerializerInterface::class) |
65 | 65 | ); |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | use Doctrine\ORM\EntityManager; |
4 | 4 | use Doctrine\ORM\Tools\Console\ConsoleRunner; |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | DI\get(\Doctrine\ORM\Tools\Console\Command\MappingDescribeCommand::class), |
82 | 82 | ]), |
83 | 83 | |
84 | - ContainerKeys::CONSOLE_HELPER_SET => function (ContainerInterface $c) { |
|
84 | + ContainerKeys::CONSOLE_HELPER_SET => function(ContainerInterface $c) { |
|
85 | 85 | return ConsoleRunner::createHelperSet($c->get(EntityManager::class)); |
86 | 86 | }, |
87 | 87 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex\Quickstart\Shared\Testing; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex\Quickstart\Shared\Exception; |
4 | 4 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | use Zend\Diactoros\Response\SapiEmitter; |
8 | 8 | use Zend\Diactoros\ServerRequestFactory; |
9 | 9 | |
10 | -$loader = require __DIR__.'/../vendor/autoload.php'; |
|
10 | +$loader = require __DIR__ . '/../vendor/autoload.php'; |
|
11 | 11 | |
12 | 12 | AnnotationRegistry::registerLoader([$loader, 'loadClass']); |
13 | 13 |