diff --git a/src/Form/PopupSettingsForm.php b/src/Form/PopupSettingsForm.php
index 8bbe999..2e45545 100644
--- a/src/Form/PopupSettingsForm.php
+++ b/src/Form/PopupSettingsForm.php
@@ -33,26 +33,26 @@ class PopupSettingsForm extends ConfigFormBase {
    */
   public function buildForm(array $form, FormStateInterface $form_state) {
     $config = $this->config('popup_dialog.settings');
-    $form['popup_enabled'] = array(
+    $form['popup_enabled'] = [
       '#type' => 'checkbox',
       '#title' => $this->t('Enabled'),
       '#description' => $this->t('Popup will be enabled when the checkbox is active.'),
       '#default_value' => $config->get('popup_enabled'),
-    );
-    $form['popup_settings'] = array(
+    ];
+    $form['popup_settings'] = [
       '#type' => 'details',
       '#title' => $this->t('Popup Box Settings'),
       '#open' => TRUE,
-    );
+    ];
 
-    $form['popup_settings']['popup_box_title'] = array(
+    $form['popup_settings']['popup_box_title'] = [
       '#type' => 'textfield',
       '#title' => $this->t('Title'),
       '#description' => $this->t('The title for the popup dialog box.'),
       '#maxlength' => 64,
       '#size' => 64,
       '#default_value' => $config->get('popup_box_title'),
-    );
+    ];
     $form['popup_settings']['popup_box_body'] = [
       '#type' => 'text_format',
       '#title' => $this->t('Body'),
@@ -60,19 +60,19 @@ class PopupSettingsForm extends ConfigFormBase {
       '#format' => $config->get('popup_box_body')['format'],
     ];
 
-    $form['popup_settings']['delay'] = array(
+    $form['popup_settings']['delay'] = [
       '#type' => 'number',
       '#title' => $this->t('Delay'),
       '#description' => $this->t('Show message after the enter number of seconds. Enter 0 to show instantly.'),
       '#default_value' => $config->get('delay'),
-    );
+    ];
 
-    $form['popup_settings']['popup_top_position'] = array(
+    $form['popup_settings']['popup_top_position'] = [
       '#type' => 'number',
       '#title' => $this->t('Top Offset'),
       '#description' => $this->t('Set the offset in px how much the popup box should be away from the top edge of the screen.'),
       '#default_value' => $config->get('popup_top_position'),
-    );
+    ];
     return parent::buildForm($form, $form_state);
   }
 
