Completed
Pull Request — master (#25)
by
unknown
01:38
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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.