@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | { |
7 | 7 | private $soap; |
8 | 8 | |
9 | - public function __construct($wsdl, array $options = []) |
|
9 | + public function __construct($wsdl, array $options = [ ]) |
|
10 | 10 | { |
11 | 11 | $this->soap = new Soap($wsdl, $options); |
12 | 12 | } |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * @param mixed $input_headers |
21 | 21 | * @return SoapRequest |
22 | 22 | */ |
23 | - public function request($function_name, array $arguments = [], array $options = null, $input_headers = null) |
|
23 | + public function request($function_name, array $arguments = [ ], array $options = null, $input_headers = null) |
|
24 | 24 | { |
25 | 25 | return $this->soap->request($function_name, $arguments, $options, $input_headers); |
26 | 26 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | public function response($response, $function_name, &$output_headers) |
36 | 36 | { |
37 | 37 | $this->soapResponse = $response; |
38 | - $response = $this->__soapCall($function_name, [], null, null, $output_headers); |
|
38 | + $response = $this->__soapCall($function_name, [ ], null, null, $output_headers); |
|
39 | 39 | $this->soapResponse = null; |
40 | 40 | return $response; |
41 | 41 | } |