@@ -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 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | { |
37 | 37 | $this->soapResponse = $response; |
38 | 38 | try { |
39 | - $response = $this->__soapCall($function_name, [], null, null, $output_headers); |
|
39 | + $response = $this->__soapCall($function_name, [ ], null, null, $output_headers); |
|
40 | 40 | } catch (\SoapFault $fault) { |
41 | 41 | $this->soapResponse = null; |
42 | 42 | throw $fault; |