@@ -13,16 +13,16 @@ |
||
13 | 13 | private $client; |
14 | 14 | |
15 | 15 | |
16 | - public function apiCall($call,$query,$service) |
|
16 | + public function apiCall($call, $query, $service) |
|
17 | 17 | { |
18 | - $config = include(realpath(dirname(__FILE__) . '/../config/config.php')); |
|
18 | + $config = include(realpath(dirname(__FILE__).'/../config/config.php')); |
|
19 | 19 | |
20 | 20 | $this->user = $config->user; |
21 | 21 | $this->pass = $config->pass; |
22 | 22 | $this->client = $config->client; |
23 | 23 | $this->wsshead = $this->getWSSHeader(); |
24 | 24 | |
25 | - $client = new \SoapClient($service); |
|
25 | + $client = new \SoapClient($service); |
|
26 | 26 | $client->__setSoapHeaders($this->wsshead); |
27 | 27 | $response = $client->$call($query); |
28 | 28 | return $response; |