@@ -61,12 +61,12 @@ |
||
61 | 61 | * @return \stdClass |
62 | 62 | * @throws \RuntimeException |
63 | 63 | */ |
64 | - public function launchRequest($endpoint, $params = []) |
|
64 | + public function launchRequest($endpoint, $params = [ ]) |
|
65 | 65 | { |
66 | - $authParams = ['idClient' => $this->clientId, 'passKey' => $this->passkey]; |
|
66 | + $authParams = [ 'idClient' => $this->clientId, 'passKey' => $this->passkey ]; |
|
67 | 67 | $response = $this->client->post( |
68 | 68 | $endpoint, |
69 | - ['form_params' => array_merge($params, $authParams)] |
|
69 | + [ 'form_params' => array_merge($params, $authParams) ] |
|
70 | 70 | ); |
71 | 71 | |
72 | 72 | $decoded = json_decode((string) $response->getBody()); |
@@ -162,9 +162,9 @@ |
||
162 | 162 | * @param array $params |
163 | 163 | * @return \stdClass |
164 | 164 | */ |
165 | - protected function callBusService($endpoint, array $params = []) |
|
165 | + protected function callBusService($endpoint, array $params = [ ]) |
|
166 | 166 | { |
167 | - $url = self::ENDPOINT . '/emt-proxy-server/last/bus/' . $endpoint; |
|
167 | + $url = self::ENDPOINT.'/emt-proxy-server/last/bus/'.$endpoint; |
|
168 | 168 | return $this->launcher->launchRequest($url, $params)->resultValues; |
169 | 169 | } |
170 | 170 | } |