diff --git a/src/Plugin/views/area/ExtraResult.php b/src/Plugin/views/area/ExtraResult.php
index edaae94..9aed7ec 100644
--- a/src/Plugin/views/area/ExtraResult.php
+++ b/src/Plugin/views/area/ExtraResult.php
@@ -23,9 +23,9 @@ class ExtraResult extends AreaPluginBase {
   protected function defineOptions() {
     $options = parent::defineOptions();
 
-    $options['content'] = array(
+    $options['content'] = [
       'default' => $this->t('Displaying @start - @end of @total'),
-    );
+    ];
 
     return $options;
   }
@@ -35,9 +35,9 @@ class ExtraResult extends AreaPluginBase {
    */
   public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
-    $item_list = array(
+    $item_list = [
       '#theme' => 'item_list',
-      '#items' => array(
+      '#items' => [
         '@start -- the initial record number in the set',
         '@end -- the last record number in the set',
         '@total -- the total records in the set',
@@ -47,16 +47,16 @@ class ExtraResult extends AreaPluginBase {
         '@current_record_count -- the current page record count',
         '@page_count -- the total page count',
         '@more -- @total - @current_record_count',
-      ),
-    );
+      ],
+    ];
     $list = \Drupal::service('renderer')->render($item_list);
-    $form['content'] = array(
+    $form['content'] = [
       '#title' => $this->t('Display'),
       '#type' => 'textarea',
       '#rows' => 3,
       '#default_value' => $this->options['content'],
       '#description' => $this->t('You may use HTML code in this field. The following tokens are supported:') . $list,
-    );
+    ];
   }
 
   /**
@@ -74,7 +74,7 @@ class ExtraResult extends AreaPluginBase {
   public function render($empty = FALSE) {
     // Must have options and does not work on summaries.
     if (!isset($this->options['content']) || $this->view->style_plugin instanceof DefaultSummary) {
-      return array();
+      return [];
     }
     $output = '';
     $format = $this->options['content'];
@@ -127,9 +127,9 @@ class ExtraResult extends AreaPluginBase {
       }
     }
     // Return as render array.
-    return array(
+    return [
       '#markup' => $output,
-    );
+    ];
   }
 
 }
diff --git a/src/Plugin/views/argument_default/Cookie.php b/src/Plugin/views/argument_default/Cookie.php
index e7caa98..9d3acb7 100644
--- a/src/Plugin/views/argument_default/Cookie.php
+++ b/src/Plugin/views/argument_default/Cookie.php
@@ -87,8 +87,8 @@ class Cookie extends ArgumentDefaultPluginBase implements CacheableDependencyInt
    */
   protected function defineOptions() {
     $options = parent::defineOptions();
-    $options['cookie_key'] = array('default' => '');
-    $options['fallback_value'] = array('default' => FALSE);
+    $options['cookie_key'] = ['default' => ''];
+    $options['fallback_value'] = ['default' => FALSE];
 
     return $options;
   }
@@ -98,24 +98,24 @@ class Cookie extends ArgumentDefaultPluginBase implements CacheableDependencyInt
    */
   public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
-    $form['cookie_key'] = array(
+    $form['cookie_key'] = [
       '#type' => 'textfield',
       '#title' => $this->t('Cookie variable key'),
       '#default_value' => $this->options['cookie_key'],
       '#description' => $this->t('Key of Cookie variable, e.g. for $_COOKIE["key"], the key would be "key".'),
-    );
-    $form['fallback_value'] = array(
+    ];
+    $form['fallback_value'] = [
       '#type' => 'textfield',
       '#title' => $this->t('If cookie variable is not set, what should be the fallback value.'),
       '#default_value' => $this->options['fallback_value'],
       '#description' => $this->t('You may use user tokens.'),
-    );
+    ];
     if ($this->moduleHandler->moduleExists("token")) {
-      $form['token_help'] = array(
+      $form['token_help'] = [
         '#type' => 'markup',
-        '#token_types' => array('user'),
+        '#token_types' => ['user'],
         '#theme' => 'token_tree_link',
-      );
+      ];
     }
   }
 
diff --git a/src/Plugin/views/argument_default/Session.php b/src/Plugin/views/argument_default/Session.php
index cfb3d3a..ec87f27 100644
--- a/src/Plugin/views/argument_default/Session.php
+++ b/src/Plugin/views/argument_default/Session.php
@@ -86,9 +86,9 @@ class Session extends ArgumentDefaultPluginBase implements CacheableDependencyIn
    */
   protected function defineOptions() {
     $options = parent::defineOptions();
-    $options['session_key'] = array('default' => '');
-    $options['fallback_value'] = array('default' => FALSE);
-    $options['cache_time'] = array('default' => -1);
+    $options['session_key'] = ['default' => ''];
+    $options['fallback_value'] = ['default' => FALSE];
+    $options['cache_time'] = ['default' => -1];
     return $options;
   }
 
@@ -97,31 +97,31 @@ class Session extends ArgumentDefaultPluginBase implements CacheableDependencyIn
    */
   public function buildOptionsForm(&$form, FormStateInterface $form_state) {
     parent::buildOptionsForm($form, $form_state);
-    $form['session_key'] = array(
+    $form['session_key'] = [
       '#type' => 'textfield',
       '#title' => $this->t('Session variable key'),
       '#default_value' => $this->options['session_key'],
       '#description' => $this->t('Keys of SESSION variable seperated by ::, e.g. for $_SESSION["key1"]["key2"], the key would be "key1::key2".'),
-    );
-    $form['fallback_value'] = array(
+    ];
+    $form['fallback_value'] = [
       '#type' => 'textfield',
       '#title' => $this->t('If session variable is not set, what should be the fallback value.'),
       '#default_value' => $this->options['fallback_value'],
       '#description' => $this->t('You may use user tokens.'),
-    );
+    ];
     if ($this->moduleHandler->moduleExists("token")) {
-      $form['token_help'] = array(
+      $form['token_help'] = [
         '#type' => 'markup',
-        '#token_types' => array('user'),
+        '#token_types' => ['user'],
         '#theme' => 'token_tree_link',
-      );
+      ];
     }
-    $form['cache_time'] = array(
+    $form['cache_time'] = [
       '#type' => 'number',
       '#title' => $this->t('Cache Maximum Age.'),
       '#default_value' => $this->options['cache_time'],
       '#description' => $this->t('If session variable changes in between session set it to 0.'),
-    );
+    ];
   }
 
   /**
diff --git a/views_extras.views.inc b/views_extras.views.inc
index 06d2959..0b17e4f 100644
--- a/views_extras.views.inc
+++ b/views_extras.views.inc
@@ -4,13 +4,13 @@
  * Implements hook_views_data().
  */
 function views_extras_views_data() {
-  $data['views']['extra_result'] = array(
+  $data['views']['extra_result'] = [
     'title' => t('Extra Result summary'),
     'help' => t('Shows result summary, for example the items per page.'),
-    'area' => array(
+    'area' => [
       'id' => 'extra_result',
-    ),
-  );
+    ],
+  ];
 
   return $data;
 }
