Completed
Pull Request — master (#37)
by Meng
03:02
created
src/SoapClient.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@
 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 37
             );
Please login to merge, or discard this patch.