@@ -79,13 +79,13 @@ |
||
| 79 | 79 | ->setDeserializationVisitor('soap', new SoapDeserializationVisitorFactory()) |
| 80 | 80 | ->setPropertyNamingStrategy(new IdenticalPropertyNamingStrategy()) |
| 81 | 81 | ->configureListeners( |
| 82 | - function (EventDispatcher $dispatcher) { |
|
| 82 | + function(EventDispatcher $dispatcher) { |
|
| 83 | 83 | $dispatcher->addSubscriber( |
| 84 | 84 | new SoapMessageEventSubscriber() |
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | ) |
| 88 | - ->configureHandlers(function (HandlerRegistry $registry) { |
|
| 88 | + ->configureHandlers(function(HandlerRegistry $registry) { |
|
| 89 | 89 | $registry->registerSubscribingHandler(new SoapDateHandler()); |
| 90 | 90 | }) |
| 91 | 91 | ->build() |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | 'https://ec.europa.eu/taxation_customs/vies/services/checkVatService' |
| 90 | 90 | ) |
| 91 | 91 | ->withHeader('Content-Type', 'text/xml; charset=utf-8') |
| 92 | - ->withHeader( 'SOAPAction', '""'); |
|
| 92 | + ->withHeader('SOAPAction', '""'); |
|
| 93 | 93 | $httpRequest->getBody()->write($this->serializer->serialize($request, 'soap')); |
| 94 | 94 | |
| 95 | 95 | $httpResponse = $this->requestHandler->handle($httpRequest); |