Completed
Push — master ( 59e50d...c35625 )
by Meng
02:00
created
tests/SoapClientTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             new RequestBuilder(),
26 26
             'http://www.webservicex.net/Statistics.asmx?WSDL'
27 27
         );
28
-        $response = $client->call('GetStatistics', [['X' => [1,2,3]]]);
28
+        $response = $client->call('GetStatistics', [['X' => [1, 2, 3]]]);
29 29
         $this->assertNotEmpty($response);
30 30
     }
31 31
 
@@ -43,14 +43,14 @@  discard block
 block discarded – undo
43 43
         );
44 44
         $response = null;
45 45
         $promise = $client->callAsync($function, $args)->then(
46
-            function ($result) use (&$response) {
46
+            function($result) use (&$response) {
47 47
                 $response = $result;
48 48
             }
49 49
         );
50 50
         $promise->wait();
51 51
         $this->assertNotEmpty($response);
52 52
         foreach ($contains as $contain) {
53
-            $this->assertArrayHasKey($contain, (array)$response);
53
+            $this->assertArrayHasKey($contain, (array) $response);
54 54
         }
55 55
     }
56 56
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
                 'wsdl' => 'http://www.webservicex.net/Statistics.asmx?WSDL',
62 62
                 'options' => [],
63 63
                 'function' => 'GetStatistics',
64
-                'args' => [['X' => [1,2,3]]],
64
+                'args' => [['X' => [1, 2, 3]]],
65 65
                 'contains' => [
66 66
                     'Sums', 'Average', 'StandardDeviation', 'skewness', 'Kurtosis'
67 67
                 ]
Please login to merge, or discard this patch.