diff --git a/group_taxonomy.links.task.yml b/group_taxonomy.links.task.yml
index 8a98c45..2b5c363 100644
--- a/group_taxonomy.links.task.yml
+++ b/group_taxonomy.links.task.yml
@@ -2,4 +2,4 @@ group.taxonomy:
   title: "Taxonomies"
   base_route: 'entity.group.canonical'
   route_name: 'entity.group.taxonomy'
-  weight: 30
\ No newline at end of file
+  weight: 30
diff --git a/group_taxonomy.module b/group_taxonomy.module
index 7754396..2c8f82f 100644
--- a/group_taxonomy.module
+++ b/group_taxonomy.module
@@ -2,6 +2,7 @@
 
 /**
  * @file
+ * Group taxonomy.
  */
 
 use Drupal\Core\Access\AccessResult;
@@ -17,6 +18,7 @@ use Drupal\taxonomy\VocabularyInterface;
  * vocabularies that user has permission to. It is based on group permissions.
  *
  * @param array $entity_types
+ *   Entity types.
  */
 function group_taxonomy_entity_type_alter(array &$entity_types) {
   /* @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */
@@ -27,6 +29,7 @@ function group_taxonomy_entity_type_alter(array &$entity_types) {
  * Custom entity access check for terms and vocabularies.
  *
  * @param \Drupal\Core\Entity\EntityInterface $entity
+ *   Entity.
  *
  * @return \Drupal\Core\Access\AccessResult
  *   Neutral in case entity is not VocabularyInterface or TermInterface.
@@ -36,7 +39,7 @@ function group_taxonomy_entity_access(EntityInterface $entity, $op, AccountInter
   if ($entity instanceof VocabularyInterface) {
     return \Drupal::service('group_taxonomy.taxonomy')->taxonomyVocabularyAccess($op, $entity, $account);
   }
-  else if ($entity instanceof TermInterface) {
+  elseif ($entity instanceof TermInterface) {
     return \Drupal::service('group_taxonomy.taxonomy')->taxonomyTermAccess($op, $entity, $account);
   }
 
@@ -50,18 +53,18 @@ function group_taxonomy_entity_access(EntityInterface $entity, $op, AccountInter
  * when applying patch from issue #2991079
  * https://www.drupal.org/project/taxonomy_manager/issues/2991079
  *
- * @param AccountInterface $account
- *  The current logged in account.
+ * @param \Drupal\Core\Session\AccountInterface $account
+ *   The current logged in account.
  * @param array $context
- *  Contains entity_type_id and langcode.
- * @param $entity_bundle
- *  The entity bundle/parent container.
+ *   Contains entity_type_id and langcode.
+ * @param string $entity_bundle
+ *   The entity bundle/parent container.
  *
  * @return \Drupal\Core\Access\AccessResult
  *   Neutral in case it is not taxonomy_term.
  *   Allowed/Denied - Check user permission against parent vocabulary.
  */
-function group_taxonomy_entity_create_access(\Drupal\Core\Session\AccountInterface $account, array $context, $entity_bundle) {
+function group_taxonomy_entity_create_access(AccountInterface $account, array $context, $entity_bundle) {
   if ($context['entity_type_id'] !== 'taxonomy_term') {
     return AccessResult::neutral();
   }
@@ -71,4 +74,4 @@ function group_taxonomy_entity_create_access(\Drupal\Core\Session\AccountInterfa
   $vocabulary = \Drupal::entityTypeManager()->getStorage('taxonomy_vocabulary')
     ->load($entity_bundle);
   return \Drupal::service('group_taxonomy.taxonomy')->taxonomyVocabularyAccess('update', $vocabulary, $account);
-}
\ No newline at end of file
+}
diff --git a/group_taxonomy.services.yml b/group_taxonomy.services.yml
index a687a2e..4aba26b 100644
--- a/group_taxonomy.services.yml
+++ b/group_taxonomy.services.yml
@@ -7,4 +7,3 @@ services:
   group_taxonomy.taxonomy:
     class: Drupal\group_taxonomy\GroupTaxonomyService
     arguments: ['@entity_type.manager', '@current_user', '@group.membership_loader']
-
