@@ -55,7 +55,6 @@ |
||
| 55 | 55 | * Return details about stops around a given geographic coordinate and, |
| 56 | 56 | * optionally, within the specified radius. |
| 57 | 57 | * |
| 58 | - * @param int $stopId |
|
| 59 | 58 | * @param int|null $radius |
| 60 | 59 | * @return \stdClass |
| 61 | 60 | * @throws \RuntimeException |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | public function getArriveStop($stopId) |
| 82 | 82 | { |
| 83 | - $params = ['stopId' => $stopId]; |
|
| 83 | + $params = [ 'stopId' => $stopId ]; |
|
| 84 | 84 | return $this->callGeoService('GetArriveStop.php', $params); |
| 85 | 85 | } |
| 86 | 86 | |
@@ -91,9 +91,9 @@ discard block |
||
| 91 | 91 | * @param array $params |
| 92 | 92 | * @return \stdClass |
| 93 | 93 | */ |
| 94 | - protected function callGeoService($endpoint, array $params = []) |
|
| 94 | + protected function callGeoService($endpoint, array $params = [ ]) |
|
| 95 | 95 | { |
| 96 | - $url = self::ENDPOINT . '/emt-proxy-server/last/geo/' . $endpoint; |
|
| 96 | + $url = self::ENDPOINT.'/emt-proxy-server/last/geo/'.$endpoint; |
|
| 97 | 97 | return $this->launcher->launchRequest($url, $params); |
| 98 | 98 | } |
| 99 | 99 | } |