@@ -28,17 +28,17 @@ |
||
28 | 28 | public function create(ClientInterface $client, $wsdl, array $options = []) |
29 | 29 | { |
30 | 30 | if ($this->isHttpUrl($wsdl)) { |
31 | - $onResponse = function (ResponseInterface $response) use ($options) { |
|
31 | + $onResponse = function(ResponseInterface $response) use ($options) { |
|
32 | 32 | $wsdl = $response->getBody()->__toString(); |
33 | - $interpreter = new Interpreter('data://text/plain;base64,' . base64_encode($wsdl), $options); |
|
33 | + $interpreter = new Interpreter('data://text/plain;base64,'.base64_encode($wsdl), $options); |
|
34 | 34 | return new HttpBinding($interpreter, new RequestBuilder); |
35 | 35 | }; |
36 | 36 | |
37 | - $request = function () use ($client, $wsdl) { |
|
37 | + $request = function() use ($client, $wsdl) { |
|
38 | 38 | return $client->requestAsync('GET', $wsdl); |
39 | 39 | }; |
40 | 40 | |
41 | - $onError = function (\Throwable $e) use ($request, &$onError) { |
|
41 | + $onError = function(\Throwable $e) use ($request, &$onError) { |
|
42 | 42 | return $request()->otherwise($onError); |
43 | 43 | }; |
44 | 44 |