Error message: Declaration of Drupal\\smart_ip_maxmind_geoip2_web_service\\WebServiceUtility::getGeolocation(?string $ipAddress = null) must be compatible with Drupal\\smart_ip\\WebServiceUtilityInterface::getGeolocation(string $ipAddress): array in ...smart_ip/modules/smart_ip_maxmind_geoip2_web_service/src/WebServiceUtility.php
Fix:
- public static function getGeolocation(string $ipAddress = NULL) {
+ public static function getGeolocation(string $ipAddress = NULL): array {in WebServiceUtility.php in smart_ip_maxmind_geoip2_web_service and smart_ip_ipinfodb_web_service and smart_ip_ipinfodb_web_service
Issue fork smart_ip-3348210
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mehul.gadaPHP warnings fixed as mentioned in Issue statement.
Comment #5
john_b commentedThanks.
Comment #9
poker10 commentedI think this is already Fixed, as it was committed to 5.0.x and 8.x-4.x 9 months ago.