diff --git a/modules/smart_ip_abstract_web_service/src/WebServiceUtility.php b/modules/smart_ip_abstract_web_service/src/WebServiceUtility.php
index 0c92160d41ded48fc2881b5d9a0b61055ba234ef..9f13b2340d030d9436a348136db6f887db1daab0 100644
--- a/modules/smart_ip_abstract_web_service/src/WebServiceUtility.php
+++ b/modules/smart_ip_abstract_web_service/src/WebServiceUtility.php
@@ -38,7 +38,7 @@ class WebServiceUtility extends WebServiceUtilityBase {
    * {@inheritdoc}
    * @throws \GuzzleHttp\Exception\GuzzleException
    */
-  public static function getGeolocation(string $ipAddress = NULL) {
+  public static function getGeolocation(string $ipAddress = NULL): array {
     $url  = self::getUrl($ipAddress);
     $json = self::sendRequest($url);
     $data = Json::decode($json);
diff --git a/modules/smart_ip_ipinfodb_web_service/src/WebServiceUtility.php b/modules/smart_ip_ipinfodb_web_service/src/WebServiceUtility.php
index fb711a554f86d76ac2a4c4b56da8b90e1128179c..56dce988a3a256d8cce7f1e2fbbb961ec37b4412 100644
--- a/modules/smart_ip_ipinfodb_web_service/src/WebServiceUtility.php
+++ b/modules/smart_ip_ipinfodb_web_service/src/WebServiceUtility.php
@@ -41,7 +41,7 @@ class WebServiceUtility extends WebServiceUtilityBase {
    * {@inheritdoc}
    * @throws \GuzzleHttp\Exception\GuzzleException
    */
-  public static function getGeolocation(string $ipAddress = NULL) {
+  public static function getGeolocation(string $ipAddress = NULL): array {
     $url  = self::getUrl($ipAddress);
     $json = self::sendRequest($url);
     $data = Json::decode($json);
diff --git a/modules/smart_ip_maxmind_geoip2_web_service/src/WebServiceUtility.php b/modules/smart_ip_maxmind_geoip2_web_service/src/WebServiceUtility.php
index 6daff7dc1bcc9fa1658dcbcf446fecbcd3b1e52d..0349ee209a557736d23164bb7e14df6a5a4e191d 100644
--- a/modules/smart_ip_maxmind_geoip2_web_service/src/WebServiceUtility.php
+++ b/modules/smart_ip_maxmind_geoip2_web_service/src/WebServiceUtility.php
@@ -38,7 +38,7 @@ class WebServiceUtility extends WebServiceUtilityBase {
    * {@inheritdoc}
    * @throws \GuzzleHttp\Exception\GuzzleException
    */
-  public static function getGeolocation(string $ipAddress = NULL) {
+  public static function getGeolocation(string $ipAddress = NULL): array {
     $url  = self::getUrl($ipAddress);
     $json = self::sendRequest($url);
     $data = Json::decode($json);