|
@@ -29,12 +29,12 @@ |
|
|
block discarded – undo |
|
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
|
|
- )->otherwise(function () use (&$httpBindingPromise) {return $httpBindingPromise;}); |
|
|
37
|
+ )->otherwise(function() use (&$httpBindingPromise) {return $httpBindingPromise; }); |
|
38
|
38
|
} else { |
|
39
|
39
|
$httpBindingPromise = new FulfilledPromise( |
|
40
|
40
|
new HttpBinding(new Interpreter($wsdl, $options), new RequestBuilder) |
Please login to merge, or discard this patch.