@@ -57,6 +57,9 @@ |
||
57 | 57 | ); |
58 | 58 | } |
59 | 59 | |
60 | + /** |
|
61 | + * @param string $name |
|
62 | + */ |
|
60 | 63 | private function interpretResponse(HttpBinding $httpBinding, ResponseInterface $response, $name, &$outputHeaders) |
61 | 64 | { |
62 | 65 | try { |
@@ -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( |
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); |
@@ -29,9 +29,9 @@ |
||
29 | 29 | { |
30 | 30 | if ($this->isHttpUrl($wsdl)) { |
31 | 31 | $httpBindingPromise = $client->requestAsync('GET', $wsdl)->then( |
32 | - function (ResponseInterface $response) use ($options) { |
|
32 | + function(ResponseInterface $response) use ($options) { |
|
33 | 33 | $wsdl = $response->getBody()->__toString(); |
34 | - $interpreter = new Interpreter('data://text/plain;base64,' . base64_encode($wsdl), $options); |
|
34 | + $interpreter = new Interpreter('data://text/plain;base64,'.base64_encode($wsdl), $options); |
|
35 | 35 | return new HttpBinding($interpreter, new RequestBuilder); |
36 | 36 | } |
37 | 37 | ); |