@@ -19,9 +19,9 @@ |
||
| 19 | 19 | ); |
| 20 | 20 | } else { |
| 21 | 21 | $httpBindingPromise = $client->requestAsync('GET', $wsdl)->then( |
| 22 | - function (ResponseInterface $response) use ($options) { |
|
| 22 | + function(ResponseInterface $response) use ($options) { |
|
| 23 | 23 | $wsdl = $response->getBody()->__toString(); |
| 24 | - $interpreter = new Interpreter('data://text/plain;base64,' . base64_encode($wsdl), $options); |
|
| 24 | + $interpreter = new Interpreter('data://text/plain;base64,'.base64_encode($wsdl), $options); |
|
| 25 | 25 | return new HttpBinding($interpreter, new RequestBuilder); |
| 26 | 26 | } |
| 27 | 27 | ); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | public function callAsync($name, array $arguments, array $options = null, $inputHeaders = null, array &$outputHeaders = null) |
| 34 | 34 | { |
| 35 | 35 | return \GuzzleHttp\Promise\coroutine( |
| 36 | - function () use ($name, $arguments, $options, $inputHeaders, &$outputHeaders) { |
|
| 36 | + function() use ($name, $arguments, $options, $inputHeaders, &$outputHeaders) { |
|
| 37 | 37 | /** @var HttpBinding $httpBinding */ |
| 38 | 38 | $httpBinding = (yield $this->deferredHttpBinding); |
| 39 | 39 | $request = $httpBinding->request($name, $arguments, $options, $inputHeaders); |
@@ -56,6 +56,9 @@ |
||
| 56 | 56 | ); |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param string $name |
|
| 61 | + */ |
|
| 59 | 62 | private function parseResponse(HttpBinding $httpBinding, ResponseInterface $response, $name, &$outputHeaders) |
| 60 | 63 | { |
| 61 | 64 | try { |