diff --git a/modules/smart_ip_ipinfodb_web_service/src/EventSubscriber/SmartIpEventSubscriber.php b/modules/smart_ip_ipinfodb_web_service/src/EventSubscriber/SmartIpEventSubscriber.php
index bc3cbdf898b4c0ecdb3da3964add069e2866aac2..6f9617aaa3d7892a4806a7d1f0a2ad81dbc56ffb 100644
--- a/modules/smart_ip_ipinfodb_web_service/src/EventSubscriber/SmartIpEventSubscriber.php
+++ b/modules/smart_ip_ipinfodb_web_service/src/EventSubscriber/SmartIpEventSubscriber.php
@@ -16,7 +16,7 @@ use Drupal\Core\Link;
 use Drupal\Core\Url;
 
 /**
- * Core functionalty of this Smart IP data source module.
+ * Core functionality of this Smart IP data source module.
  * Listens to Smart IP override events.
  *
  * @package Drupal\smart_ip_ipinfodb_web_service\EventSubscriber
@@ -26,14 +26,14 @@ class SmartIpEventSubscriber extends SmartIpEventSubscriberBase {
   /**
    * {@inheritdoc}
    */
-  public static function sourceId() {
+  public static function sourceId(): string {
     return 'ipinfodb_web_service';
   }
 
   /**
    * {@inheritdoc}
    */
-  public static function configName() {
+  public static function configName(): string {
     return 'smart_ip_ipinfodb_web_service.settings';
   }
 
@@ -122,10 +122,10 @@ class SmartIpEventSubscriber extends SmartIpEventSubscriberBase {
     $config = \Drupal::config(self::configName());
     $form   = $event->getForm();
     $form['smart_ip_data_source_selection']['smart_ip_data_source']['#options'][self::sourceId()] = t(
-      "Use @ipinfodb web service. The @ip2location free version database is used 
-      by @ipinfodb in their web service. You will need an API key to use this 
-      and you must be @login to get it. Note: if @ipinfodb respond too slow to 
-      geolocation request, your site's performance will be affected specially if 
+      "Use @ipinfodb web service. The @ip2location free version database is used
+      by @ipinfodb in their web service. You will need an API key to use this
+      and you must be @login to get it. Note: if @ipinfodb respond too slow to
+      geolocation request, your site's performance will be affected specially if
       Smart IP is configured to geolocate anonymous users.", [
         '@ipinfodb'    => Link::fromTextAndUrl(t('IPInfoDB.com'), Url::fromUri('http://www.ipinfodb.com'))->toString(),
         '@ip2location' => Link::fromTextAndUrl(t('IP2Location'), Url::fromUri('http://www.ip2location.com'))->toString(),
@@ -147,7 +147,7 @@ class SmartIpEventSubscriber extends SmartIpEventSubscriberBase {
       '#type'          => 'textfield',
       '#title'         => t('IPInfoDB API key'),
       '#description'   => t(
-        'The use of IPInfoDB.com service requires API key. Registration for the 
+        'The use of IPInfoDB.com service requires API key. Registration for the
         new API key is free, sign up @here.', [
           '@here' => Link::fromTextAndUrl(t('here'), Url::fromUri('http://www.ipinfodb.com/register.php'))->toString(),
         ]