@@ -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 CCT\Component\Rest\Serializer; |
| 6 | 6 | |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | protected function applyEventSubscribers() |
| 167 | 167 | { |
| 168 | 168 | $eventSubscribers = $this->config->get(Config::EVENT_SUBSCRIBERS, []); |
| 169 | - $this->jmsSerializerBuilder->configureListeners(function (EventDispatcher $dispatcher) use ($eventSubscribers) { |
|
| 169 | + $this->jmsSerializerBuilder->configureListeners(function(EventDispatcher $dispatcher) use ($eventSubscribers) { |
|
| 170 | 170 | foreach ($eventSubscribers as $eventSubscriber) { |
| 171 | 171 | $dispatcher->addSubscriber($eventSubscriber); |
| 172 | 172 | } |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | { |
| 185 | 185 | $serializationHandlers = $this->config->get(Config::SERIALIZATION_HANDLERS, []); |
| 186 | 186 | $this->jmsSerializerBuilder->configureHandlers( |
| 187 | - function (HandlerRegistry $handlerRegistry) use ($serializationHandlers) { |
|
| 187 | + function(HandlerRegistry $handlerRegistry) use ($serializationHandlers) { |
|
| 188 | 188 | foreach ($serializationHandlers as $handler) { |
| 189 | 189 | $handlerRegistry->registerSubscribingHandler($handler); |
| 190 | 190 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Component\Rest\Http; |
| 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 CCT\Component\Rest\Http\Transform; |
| 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 CCT\Component\Rest\Http; |
| 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 CCT\Component\Rest\Transformer\Request; |
| 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 CCT\Component\Rest\Transformer\Response; |
| 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 CCT\Component\Rest\Http\Transform; |
| 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 CCT\Component\Rest\Http\Transform; |
| 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 CCT\Component\Rest\Http\Transform; |
| 6 | 6 | |