@@ -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\Kong\EventListener; |
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 CCT\Kong\Serializer; |
6 | 6 | |
@@ -139,14 +139,14 @@ discard block |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | $eventSubscribers = $this->config->get(Config::EVENT_SUBSCRIBERS, []); |
142 | - $this->jmsSerializerBuilder->configureListeners(function (EventDispatcher $dispatcher) use ($eventSubscribers) { |
|
142 | + $this->jmsSerializerBuilder->configureListeners(function(EventDispatcher $dispatcher) use ($eventSubscribers) { |
|
143 | 143 | foreach ($eventSubscribers as $eventSubscriber) { |
144 | 144 | $dispatcher->addSubscriber($eventSubscriber); |
145 | 145 | } |
146 | 146 | }); |
147 | 147 | |
148 | 148 | $serializationHandlers = $this->config->get(Config::SERIALIZATION_HANDLERS, []); |
149 | - $this->jmsSerializerBuilder->configureHandlers(function (HandlerRegistry $handlerRegistry) use ($serializationHandlers) { |
|
149 | + $this->jmsSerializerBuilder->configureHandlers(function(HandlerRegistry $handlerRegistry) use ($serializationHandlers) { |
|
150 | 150 | foreach ($serializationHandlers as $handler) { |
151 | 151 | $handlerRegistry->registerSubscribingHandler($handler); |
152 | 152 | } |
@@ -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\Kong\Serializer\Handler; |
6 | 6 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | ]; |
42 | 42 | } |
43 | 43 | |
44 | - public function deserializeTimestampToJson(JsonDeserializationVisitor $visitor, $data, $type) :? \DateTime |
|
44 | + public function deserializeTimestampToJson(JsonDeserializationVisitor $visitor, $data, $type) : ? \DateTime |
|
45 | 45 | { |
46 | 46 | if (empty($data) || 13 !== strlen((string) $data)) { |
47 | 47 | return null; |
@@ -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\Kong\Serializer; |
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\Kong\Form\Normalizer; |
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\Kong\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 CCT\Kong\Model\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\Kong\Model\Structure; |
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\Kong\Form\Normalizer; |
6 | 6 |