diff --git a/local_translation.install b/local_translation.install
index 434f593..699ec91 100755
--- a/local_translation.install
+++ b/local_translation.install
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * Installation hooks for local_translation module.
@@ -10,15 +11,14 @@
 function local_translation_install() {
   // Assign form settings for the 'default' form mode.
   $form_display = entity_get_form_display('user', 'user', 'default');
-  $form_display->setComponent('local_translation_skills', array(
+  $form_display->setComponent('local_translation_skills', [
     'type' => 'language_combination_default',
-  ));
+  ]);
   $form_display->save();
   // Assign form settings for the 'register' form mode.
   $form_display = entity_get_form_display('user', 'user', 'register');
-  $form_display->setComponent('local_translation_skills', array(
+  $form_display->setComponent('local_translation_skills', [
     'type' => 'language_combination_default',
-  ));
+  ]);
   $form_display->save();
 }
-
diff --git a/modules/local_translation_content/src/Access/LocalTranslationContentManageAccess.php b/modules/local_translation_content/src/Access/LocalTranslationContentManageAccess.php
index 537dee2..fcf3e8d 100644
--- a/modules/local_translation_content/src/Access/LocalTranslationContentManageAccess.php
+++ b/modules/local_translation_content/src/Access/LocalTranslationContentManageAccess.php
@@ -43,8 +43,8 @@ class LocalTranslationContentManageAccess extends ContentTranslationManageAccess
     LocalTranslationAccessRulesPluginManager $access_rules_manager
   ) {
     parent::__construct($manager, $language_manager);
-    $this->account              = $account;
-    $this->accessRulesManager   = $access_rules_manager;
+    $this->account            = $account;
+    $this->accessRulesManager = $access_rules_manager;
   }
 
   /**
@@ -59,9 +59,9 @@ class LocalTranslationContentManageAccess extends ContentTranslationManageAccess
     $language = NULL,
     $entity_type_id = NULL
   ) {
-    $route_name         = $route_match->getRouteName();
-    $route              = $route_match->getRouteObject();
-    $entity             = $route_match->getParameter($entity_type_id);
+    $route_name = $route_match->getRouteName();
+    $route      = $route_match->getRouteObject();
+    $entity     = $route_match->getParameter($entity_type_id);
 
     // Workaround for translation overview page.
     if ($route_name === "entity.$entity_type_id.content_translation_overview") {
diff --git a/modules/local_translation_content/src/Controller/LocalTranslationContentController.php b/modules/local_translation_content/src/Controller/LocalTranslationContentController.php
index b52de58..bd29c51 100644
--- a/modules/local_translation_content/src/Controller/LocalTranslationContentController.php
+++ b/modules/local_translation_content/src/Controller/LocalTranslationContentController.php
@@ -512,7 +512,7 @@ class LocalTranslationContentController extends ContentTranslationController {
    * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
    * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
    */
-  private function extractLanguageFromRow(&$row) {
+  private function extractLanguageFromRow(array &$row) {
     $label = reset($row);
     self::extractDefaultLanguageName($label);
     return !is_string($label)
@@ -534,7 +534,7 @@ class LocalTranslationContentController extends ContentTranslationController {
    * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
    * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
    */
-  protected function extractLanguagesWithGroups(&$rows, $user_languages) {
+  protected function extractLanguagesWithGroups(array &$rows, array $user_languages) {
     $groups = [];
     foreach ($rows as $key => $row) {
       $language = $this->extractLanguageFromRow($row);
diff --git a/modules/local_translation_content/tests/src/Functional/LocalTranslationContentAccessRulesTest.php b/modules/local_translation_content/tests/src/Functional/LocalTranslationContentAccessRulesTest.php
index 222a254..87c4394 100644
--- a/modules/local_translation_content/tests/src/Functional/LocalTranslationContentAccessRulesTest.php
+++ b/modules/local_translation_content/tests/src/Functional/LocalTranslationContentAccessRulesTest.php
@@ -75,7 +75,7 @@ class LocalTranslationContentAccessRulesTest extends BrowserTestBase {
    * Test admin access.
    */
   public function testAdminAccess() {
-    $user = $this->createUser([],'test_user',FALSE);
+    $user = $this->createUser([], 'test_user', FALSE);
     $this->drupalLogin($user);
 
     $access = $this->accessRulesManager->checkAccess('create');
diff --git a/src/Services/LocalTranslationUserSkills.php b/src/Services/LocalTranslationUserSkills.php
index 11288d9..8294834 100755
--- a/src/Services/LocalTranslationUserSkills.php
+++ b/src/Services/LocalTranslationUserSkills.php
@@ -64,7 +64,7 @@ class LocalTranslationUserSkills {
    *
    * @throws \Drupal\Core\Entity\EntityStorageException
    */
-  public function addSkills($skills, $user = NULL) {
+  public function addSkills(array $skills, $user = NULL) {
     if (is_null($user)) {
       $user = User::load($this->currentUser->id());
     }
@@ -83,7 +83,7 @@ class LocalTranslationUserSkills {
    *
    * @throws \Drupal\Core\Entity\EntityStorageException
    */
-  public function addSkill($skill, $user = NULL) {
+  public function addSkill(array $skill, $user = NULL) {
     if (is_null($user)) {
       $user = User::load($this->currentUser->id());
     }
@@ -97,7 +97,7 @@ class LocalTranslationUserSkills {
   /**
    * Get skills array.
    *
-   * @param AccountInterface|null $user
+   * @param \Drupal\Core\Session\AccountInterface|null $user
    *   User object. Optional.
    * @param bool $named
    *   Additional flag for building named multi-level array
