diff --git a/README.md b/README.md
index 3601b0e..eb5b293 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,9 @@ CONTENTS OF THIS FILE
 INTRODUCTION
 ------------
 
-Comment Notify Node Author is the simple yet useful module, sends the email notification to the author of the node, whenever a new comment is posted or the existing comment is updated on their content.
+Comment Notify Node Author is the simple yet useful module, sends the email
+notification to the author of the node, whenever a new comment is posted or
+the existing comment is updated on their content.
 
 RECOMMENDED MODULES
 -------------------
@@ -21,13 +23,16 @@ RECOMMENDED MODULES
 REQUIREMENTS
 ------------
 
-This module requires the comment module which comes along with the drupal core. Additionally, configure the mail system which is required for sending emails (Preferably SMTP).
+This module requires the comment module which comes along with the drupal core.
+Additionally, configure the mail system which is required for sending emails
+(Preferably SMTP).
 
 INSTALLATION
 ------------
 
 Install the module as you would normally install a contributed Drupal
-module. Visit https://www.drupal.org/docs/extending-drupal/installing-modules for further information.
+module. Visit https://www.drupal.org/docs/extending-drupal/installing-modules
+for further information.
 
 CONFIGURATION
 -------------
@@ -49,4 +54,3 @@ MAINTAINERS
 Supporting organizations:
 
  * ITT Digital - https://www.drupal.org/itt-digital
-
diff --git a/cna.info.yml b/cna.info.yml
index e186d6d..c45dbc4 100644
--- a/cna.info.yml
+++ b/cna.info.yml
@@ -1,9 +1,8 @@
-type: module
 name: Comment notify node author
 description: This module notifies the author of node, when the comment is posted or updated on their content.
+type: module
 core_version_requirement: ^9 || ^10
 package: Comments
-version: 1.0.0
 dependencies:
   - drupal:comment
-configure: cna.settings
\ No newline at end of file
+configure: cna.settings
diff --git a/cna.module b/cna.module
index aa20a3b..d1be98b 100644
--- a/cna.module
+++ b/cna.module
@@ -1,57 +1,63 @@
 <?php
 
+/**
+ * @file
+ * Hook implementations for the Comment notify node author module.
+ */
+
 use Drupal\user\Entity\User;
 use Drupal\comment\CommentInterface;
 
 /**
- * Implements hook_comment_insert
+ * Implements hook_comment_insert().
  */
-
 function cna_comment_insert(CommentInterface $comment) {
   $config = \Drupal::config('cna.settings');
-  if($config->get('cna_new')){
-    if ($comment){
+  if ($config->get('cna_new')) {
+    if ($comment) {
       $name = User::load(\Drupal::currentUser()->id())->get('name')->value;
       $subject = $comment->getSubject();
-      $node= $comment->getCommentedEntity();
+      $node = $comment->getCommentedEntity();
       $node_title = $node->get('title')->value;
-      $to= $node->getOwner()->getEmail();
-      $message="Comment has been posted on " . $node_title . ", by ".$name.".";
-      $url= $comment->permalink()->setOption('absolute', TRUE)->toString();
-      $request_time = \Drupal::time()->getRequestTime(); // Gets system time
+      $to = $node->getOwner()->getEmail();
+      $message = "Comment has been posted on " . $node_title . ", by " . $name . ".";
+      $url = $comment->permalink()->setOption('absolute', TRUE)->toString();
+      // Gets system time.
+      $request_time = \Drupal::time()->getRequestTime();
       $params = [
         'url' => $url,
-        'date'=> date('Y-m-d H:i:s', $request_time),
-        'message'=>$message,
+        'date' => date('Y-m-d H:i:s', $request_time),
+        'message' => $message,
       ];
-      _cna_send_mail($to,$subject, $params);
+      _cna_send_mail($to, $subject, $params);
     }
   }
 }
 
 /**
  * Implements hook_comment_update().
- * When comment is approved by node author
+ *
+ * When comment is approved by node author.
  */
-
-function cna_comment_update(CommentInterface $comment){
+function cna_comment_update(CommentInterface $comment) {
   $config = \Drupal::config('cna.settings');
-  if($config->get('cna_update')){
-    if($comment -> isPublished()){
+  if ($config->get('cna_update')) {
+    if ($comment->isPublished()) {
       $username = User::load(\Drupal::currentUser()->id())->get('name')->value;
       $subject = $comment->getSubject();
-      $node= $comment->getCommentedEntity();
+      $node = $comment->getCommentedEntity();
       $node_title = $node->get('title')->value;
-      $to= $node->getOwner()->getEmail();
-      $message="Comment has been updated on " . $node_title . ", by ".$username.".";
-      $url= $comment->permalink()->setOption('absolute', TRUE)->toString();
-      $request_time = \Drupal::time()->getRequestTime(); // Gets system time
+      $to = $node->getOwner()->getEmail();
+      $message = "Comment has been updated on " . $node_title . ", by " . $username . ".";
+      $url = $comment->permalink()->setOption('absolute', TRUE)->toString();
+      // Gets system time.
+      $request_time = \Drupal::time()->getRequestTime();
       $params = [
         'url' => $url,
-        'date'=> date('Y-m-d H:i:s', $request_time),
-        'message'=>$message,
+        'date' => date('Y-m-d H:i:s', $request_time),
+        'message' => $message,
       ];
-      _cna_send_mail($to,$subject, $params);
+      _cna_send_mail($to, $subject, $params);
 
     }
   }
@@ -60,7 +66,7 @@ function cna_comment_update(CommentInterface $comment){
 /**
  * Implements hook_mail().
  */
-function cna_mail($key,&$message, $params) {
+function cna_mail($key, &$message, $params) {
   switch ($key) {
     case 'new_comment':
       $message['from'] = \Drupal::config('system.site')->get('mail');
@@ -80,7 +86,7 @@ function cna_mail($key,&$message, $params) {
 /**
  * Send mail function.
  */
-function _cna_send_mail($to,$subject, $params) {
+function _cna_send_mail($to, $subject, $params) {
   if (\Drupal::service('email.validator')->isValid($to)) {
     $mailManager = \Drupal::service('plugin.manager.mail');
     $langcode = \Drupal::currentUser()->getPreferredLangcode();
@@ -88,7 +94,7 @@ function _cna_send_mail($to,$subject, $params) {
     \Drupal::logger('Comment notify node author')->notice(t('Sent eMail notification for comment with :subject
     to the site administrator eMail address :nodeAuthorEmailAddress', [
       ':nodeAuthorEmailAddress' => $to,
-      ':subject'=>$subject,
+      ':subject' => $subject,
     ]));
   }
 }
diff --git a/src/Form/CNAConfig.php b/src/Form/CNAConfig.php
index 74a3bb0..5667024 100644
--- a/src/Form/CNAConfig.php
+++ b/src/Form/CNAConfig.php
@@ -1,6 +1,5 @@
 <?php
 
-
 namespace Drupal\cna\Form;
 
 use Drupal\Core\Form\ConfigFormBase;
@@ -69,4 +68,3 @@ class CNAConfig extends ConfigFormBase {
   }
 
 }
-
