@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | new RequestBuilder(), |
25 | 25 | 'http://www.webservicex.net/Statistics.asmx?WSDL' |
26 | 26 | ); |
27 | - $response = $client->call('GetStatistics', [['X' => [1,2,3]]]); |
|
27 | + $response = $client->call('GetStatistics', [['X' => [1, 2, 3]]]); |
|
28 | 28 | $this->assertNotEmpty($response); |
29 | 29 | } |
30 | 30 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $response = $client->callAsync($function, $args)->wait(); |
44 | 44 | $this->assertNotEmpty($response); |
45 | 45 | foreach ($contains as $contain) { |
46 | - $this->assertArrayHasKey($contain, (array)$response); |
|
46 | + $this->assertArrayHasKey($contain, (array) $response); |
|
47 | 47 | } |
48 | 48 | } |
49 | 49 | |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | 'wsdl' => 'http://www.webservicex.net/Statistics.asmx?WSDL', |
55 | 55 | 'options' => [], |
56 | 56 | 'function' => 'GetStatistics', |
57 | - 'args' => [['X' => [1,2,3]]], |
|
57 | + 'args' => [['X' => [1, 2, 3]]], |
|
58 | 58 | 'contains' => [ |
59 | 59 | 'Sums', 'Average', 'StandardDeviation', 'skewness', 'Kurtosis' |
60 | 60 | ] |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | 'wsdl' => 'http://www.webservicex.net/Statistics.asmx?WSDL', |
64 | 64 | 'options' => ['soap_version' => SOAP_1_2], |
65 | 65 | 'function' => 'GetStatistics', |
66 | - 'args' => [['X' => [1,2,3]]], |
|
66 | + 'args' => [['X' => [1, 2, 3]]], |
|
67 | 67 | 'contains' => [ |
68 | 68 | 'Sums', 'Average', 'StandardDeviation', 'skewness', 'Kurtosis' |
69 | 69 | ] |
@@ -18,7 +18,7 @@ |
||
18 | 18 | ); |
19 | 19 | } else { |
20 | 20 | $interpreterPromise = $client->requestAsync('GET', $wsdl)->then( |
21 | - function (ResponseInterface $response) use ($options) { |
|
21 | + function(ResponseInterface $response) use ($options) { |
|
22 | 22 | $wsdl = $response->getBody()->__toString(); |
23 | 23 | return new Interpreter('data://text/plain;base64,' . base64_encode($wsdl), $options); |
24 | 24 | } |