mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix GeocodingHelper type-hinting (#14604)
* Fix GeocodingHelper type-hinting * Update GeocodingHelper.php
This commit is contained in:
@@ -80,7 +80,7 @@ trait GeocodingHelper
|
||||
* @param array $data
|
||||
* @return array
|
||||
*/
|
||||
abstract protected function parseLatLng($data);
|
||||
abstract protected function parseLatLng(array $data): array;
|
||||
|
||||
/**
|
||||
* Build Guzzle request option array
|
||||
@@ -90,5 +90,5 @@ trait GeocodingHelper
|
||||
*
|
||||
* @throws \Exception you may throw an Exception if validation fails
|
||||
*/
|
||||
abstract protected function buildGeocodingOptions($address);
|
||||
abstract protected function buildGeocodingOptions(string $address): array;
|
||||
}
|
||||
|
Reference in New Issue
Block a user