Completed
Push — master ( 58dd05...6b6b52 )
by Carlos
01:57
created
src/RequestLauncher.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,12 +61,12 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
src/BusClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,9 +162,9 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/GeoClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,9 +36,9 @@
 block discarded – undo
36 36
      * @param array $params
37 37
      * @return \stdClass
38 38
      */
39
-    protected function callGeoService($endpoint, array $params = [])
39
+    protected function callGeoService($endpoint, array $params = [ ])
40 40
     {
41
-        $url = self::ENDPOINT . '/emt-proxy-server/last/geo/' . $endpoint;
41
+        $url = self::ENDPOINT.'/emt-proxy-server/last/geo/'.$endpoint;
42 42
         return $this->launcher->launchRequest($url, $params);
43 43
     }
44 44
 }
Please login to merge, or discard this patch.