@@ -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,14 +33,14 @@ |
||
| 33 | 33 | public function callAsync($name, array $arguments, array $options = null, $inputHeaders = null, array &$output_headers = null) |
| 34 | 34 | { |
| 35 | 35 | return $this->deferredHttpBinding->then( |
| 36 | - function (HttpBinding $httpBinding) use ($name, $arguments, $options, $inputHeaders) { |
|
| 36 | + function(HttpBinding $httpBinding) use ($name, $arguments, $options, $inputHeaders) { |
|
| 37 | 37 | $request = $httpBinding->request($name, $arguments, $options, $inputHeaders); |
| 38 | 38 | return $this->client->sendAsync($request); |
| 39 | 39 | } |
| 40 | 40 | )->then( |
| 41 | - function (ResponseInterface $response) use ($name, $output_headers) { |
|
| 41 | + function(ResponseInterface $response) use ($name, $output_headers) { |
|
| 42 | 42 | return $this->deferredHttpBinding->then( |
| 43 | - function (HttpBinding $httpBinding) use ($response, $name, $output_headers) { |
|
| 43 | + function(HttpBinding $httpBinding) use ($response, $name, $output_headers) { |
|
| 44 | 44 | return $httpBinding->response($response, $name, $output_headers); |
| 45 | 45 | } |
| 46 | 46 | ); |