@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * |
72 | 72 | * Sends request to the passed Google Geocode API URL and fetches the address details and returns them |
73 | 73 | * |
74 | - * @param string $url Google geocode API URL containing the address or latitude/longitude |
|
74 | + * @param string $address |
|
75 | 75 | * @return bool|object false if no data is returned by URL and the detail otherwise |
76 | 76 | */ |
77 | 77 | private function fetchServiceDetails($address) |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | * Returns the latitude if found and the default value otherwise |
144 | 144 | * |
145 | 145 | * @param string $default Default latitude that is to be returned if the latitude is not found |
146 | - * @return string|float Default latitude if no latitude found and the latitude otherwise |
|
146 | + * @return string Default latitude if no latitude found and the latitude otherwise |
|
147 | 147 | */ |
148 | 148 | public function getLatitude($default = '') |
149 | 149 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * Returns the longitude if found and the default value otherwise |
157 | 157 | * |
158 | 158 | * @param string $default Default longitude that is to be returned if the longitude is not found |
159 | - * @return string|float Default longitude if no longitude found and the longitude otherwise |
|
159 | + * @return string Default longitude if no longitude found and the longitude otherwise |
|
160 | 160 | */ |
161 | 161 | public function getLongitude($default = '') |
162 | 162 | { |