diff --git a/README.txt b/README.txt
index 58eba33..2737cfc 100644
--- a/README.txt
+++ b/README.txt
@@ -26,8 +26,9 @@ This module requires no modules outside of Drupal core.
 INSTALLATION
 ------------
 
- - Install the User Instance module as you would normally install a contributed Drupal
-   module. Visit https://www.drupal.org/node/1897420 for further information.
+ - Install the User Instance module as you would normally install a contributed
+   Drupal module. Visit https://www.drupal.org/node/1897420 for further
+   information.
 
 
 CONFIGURATION
@@ -40,4 +41,3 @@ MAINTAINER
 ----------
 
  - mortona2k https://www.drupal.org/u/mortona2k
-
diff --git a/custom_account_link.links.menu.yml b/custom_account_link.links.menu.yml
index 4227eb0..a9fd88c 100644
--- a/custom_account_link.links.menu.yml
+++ b/custom_account_link.links.menu.yml
@@ -10,4 +10,4 @@ custom_account_link.register:
   description: 'User registration'
   menu_name: account
   weight: 11
-  class: Drupal\custom_account_link\Plugin\Menu\RegisterMenuLink
\ No newline at end of file
+  class: Drupal\custom_account_link\Plugin\Menu\RegisterMenuLink
diff --git a/custom_account_link.module b/custom_account_link.module
index 695c461..f23e8c7 100644
--- a/custom_account_link.module
+++ b/custom_account_link.module
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Hook implementations for the Custom Account Link module.
+ */
+
 /**
  * Set My Account menu link title.
  */
diff --git a/custom_account_link.routing.yml b/custom_account_link.routing.yml
index d73220c..7128b21 100644
--- a/custom_account_link.routing.yml
+++ b/custom_account_link.routing.yml
@@ -4,6 +4,6 @@ custom_account_link.settings:
     _form: '\Drupal\custom_account_link\Form\CustomAccountLinkSettings'
     _title: 'Custom Account Link Settings'
   requirements:
-    _permission: 'access administration pages'
+    _permission: 'administer site configuration'
   options:
     _admin_route: TRUE
diff --git a/src/Form/CustomAccountLinkSettings.php b/src/Form/CustomAccountLinkSettings.php
index 34cf632..cfae1f5 100644
--- a/src/Form/CustomAccountLinkSettings.php
+++ b/src/Form/CustomAccountLinkSettings.php
@@ -35,8 +35,11 @@ class CustomAccountLinkSettings extends ConfigFormBase {
     $form['label_source'] = [
       '#type' => 'radios',
       '#title' => $this->t('Label source'),
-      '#options' => ['text' => $this->t('Text'), 'username' => $this->t('Username')],
-      '#default_value' => $config->get('label_source')
+      '#options' => [
+        'text' => $this->t('Text'),
+        'username' => $this->t('Username'),
+      ],
+      '#default_value' => $config->get('label_source'),
     ];
 
     $form['label_text'] = [
@@ -45,9 +48,9 @@ class CustomAccountLinkSettings extends ConfigFormBase {
       '#default_value' => $config->get('label_text'),
       '#states' => [
         'enabled' => [
-          ':input[name="label_source"]' => ['value' => 'text']
-        ]
-      ]
+          ':input[name="label_source"]' => ['value' => 'text'],
+        ],
+      ],
     ];
 
     return parent::buildForm($form, $form_state);
diff --git a/src/Plugin/Menu/RegisterMenuLink.php b/src/Plugin/Menu/RegisterMenuLink.php
index 86fd86a..7fc5d41 100644
--- a/src/Plugin/Menu/RegisterMenuLink.php
+++ b/src/Plugin/Menu/RegisterMenuLink.php
@@ -66,6 +66,9 @@ class RegisterMenuLink extends MenuLinkDefault {
     return ['user.roles:authenticated'];
   }
 
+  /**
+   * {@inheritdoc}
+   */
   public function isEnabled() {
     return !$this->currentUser->isAuthenticated();
   }
