Completed
Pull Request — master (#5)
by
unknown
05:41
created
src/SoapClient.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
src/Factory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,15 +32,15 @@
 block discarded – undo
32 32
         } elseif ('<' === $wsdlOrWsdlUrl[0]) {
33 33
             $httpBindingPromise = new FulfilledPromise(
34 34
                 new HttpBinding(
35
-                    new Interpreter('data://text/plain;base64,' . base64_encode($wsdlOrWsdlUrl), $options),
35
+                    new Interpreter('data://text/plain;base64,'.base64_encode($wsdlOrWsdlUrl), $options),
36 36
                     new RequestBuilder
37 37
                 )
38 38
             );
39 39
         } else {
40 40
             $httpBindingPromise = $client->requestAsync('GET', $wsdlOrWsdlUrl)->then(
41
-                function (ResponseInterface $response) use ($options) {
41
+                function(ResponseInterface $response) use ($options) {
42 42
                     $wsdl = $response->getBody()->__toString();
43
-                    $interpreter = new Interpreter('data://text/plain;base64,' . base64_encode($wsdl), $options);
43
+                    $interpreter = new Interpreter('data://text/plain;base64,'.base64_encode($wsdl), $options);
44 44
                     return new HttpBinding($interpreter, new RequestBuilder);
45 45
                 }
46 46
             );
Please login to merge, or discard this patch.