@@ -33,9 +33,9 @@ |
||
33 | 33 | { |
34 | 34 | if ($this->isHttpUrl($wsdl)) { |
35 | 35 | $httpBindingPromise = $client->requestAsync('GET', $wsdl)->then( |
36 | - function (ResponseInterface $response) use ($streamFactory, $requestFactory, $options) { |
|
36 | + function(ResponseInterface $response) use ($streamFactory, $requestFactory, $options) { |
|
37 | 37 | $wsdl = $response->getBody()->__toString(); |
38 | - $interpreter = new Interpreter('data://text/plain;base64,' . base64_encode($wsdl), $options); |
|
38 | + $interpreter = new Interpreter('data://text/plain;base64,'.base64_encode($wsdl), $options); |
|
39 | 39 | return new HttpBinding($interpreter, new RequestBuilder($streamFactory, $requestFactory), $streamFactory); |
40 | 40 | } |
41 | 41 | ); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | public function callAsync($name, array $arguments, array $options = null, $inputHeaders = null, array &$outputHeaders = null) |
35 | 35 | { |
36 | 36 | return \GuzzleHttp\Promise\Coroutine::of( |
37 | - function () use ($name, $arguments, $options, $inputHeaders, &$outputHeaders) { |
|
37 | + function() use ($name, $arguments, $options, $inputHeaders, &$outputHeaders) { |
|
38 | 38 | /** @var HttpBinding $httpBinding */ |
39 | 39 | $httpBinding = (yield $this->httpBindingPromise); |
40 | 40 | $request = $httpBinding->request($name, $arguments, $options, $inputHeaders); |