diff --git a/content_close.info.yml b/content_close.info.yml
index 9013049..1daa372 100644
--- a/content_close.info.yml
+++ b/content_close.info.yml
@@ -2,3 +2,4 @@ name: Content Close
 description: This module is used to set the time for content to close automatically
 type: module
 core: 8.x
+core_version_requirement: ^8||^9
diff --git a/content_close.module b/content_close.module
index 2ebe9e6..9fb769c 100644
--- a/content_close.module
+++ b/content_close.module
@@ -39,7 +39,11 @@ function content_close_form_alter(&$form, FormStateInterface $form_state, $form_
   $request_time = \Drupal::time()->getCurrentTime();
   foreach ($expiry_set as $content_type => $time) {
     if ($content_type == $form_id && $time < $request_time) {
-      $url = Url::fromRoute('content_close.page', ['time' => $time, 'content_type' => $content_type])->toString();
+      $url = Url::fromRoute('content_close.page',
+              [
+                'time' => $time,
+                'content_type' => $content_type,
+              ])->toString();
       $response = new RedirectResponse($url);
       $response->send();
       drupal_set_message(t('The content creation for this content type is expired'), 'error', TRUE);
diff --git a/src/Controller/ContentCloseController.php b/src/Controller/ContentCloseController.php
index f4b356a..e23171f 100644
--- a/src/Controller/ContentCloseController.php
+++ b/src/Controller/ContentCloseController.php
@@ -5,7 +5,7 @@ namespace Drupal\content_close\Controller;
 use Drupal\Core\Controller\ControllerBase;
 
 /**
- * ContentCloseController class.
+ * Impements ContentCloseController class.
  */
 class ContentCloseController extends ControllerBase {
 
diff --git a/src/Form/ContentCloseForm.php b/src/Form/ContentCloseForm.php
index 748dfc4..7ff0bde 100644
--- a/src/Form/ContentCloseForm.php
+++ b/src/Form/ContentCloseForm.php
@@ -9,7 +9,7 @@ use Drupal\Core\Entity\EntityTypeManagerInterface;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 
 /**
- * ContentCloseForm close.
+ * Implements ContentCloseForm class.
  */
 class ContentCloseForm extends ConfigFormBase {
 
@@ -62,7 +62,7 @@ class ContentCloseForm extends ConfigFormBase {
     $config = $this->config('content_close.settings');
     $form['content_type_name'] = [
       '#type' => 'details',
-      '#title' => t('Content Type List'),
+      '#title' => $this->t('Content Type List'),
       '#open' => TRUE,
     ];
 
@@ -71,7 +71,7 @@ class ContentCloseForm extends ConfigFormBase {
       $form['content_type_name'][$node_type->id()] = [
         '#type' => 'datetime',
         '#title' => $node_type->label(),
-        '#description' => t('Set the expiry date and time'),
+        '#description' => $this->t('Set the expiry date and time'),
         '#default_value' => $config->get($node_type->id()) ? DrupalDateTime::createFromTimestamp($config->get($node_type->id())) : '',
       ];
     }
