diff --git a/src/Form/BmiForm.php b/src/Form/BmiForm.php
index 9ece4d3..24003ea 100755
--- a/src/Form/BmiForm.php
+++ b/src/Form/BmiForm.php
@@ -28,46 +28,46 @@ class BmiForm extends FormBase {
    * {@inheritdoc}
    */
   public function buildForm(array $form, FormStateInterface $form_state) {
-    $form['body_weight'] = array(
+    $form['body_weight'] = [
       '#type' => 'textfield',
       '#title' => $this->t('Weight'),
       '#maxlength' => 64,
       '#size' => 10,
-    );
-    $form['weight_units'] = array(
+    ];
+    $form['weight_units'] = [
       '#type' => 'select',
       '#title' => $this->t('Units'),
-      '#options' => array('kgs' => $this->t('kgs'), 'lbs' => $this->t('lbs')),
-    );
-    $form['body_height'] = array(
+      '#options' => ['kgs' => $this->t('kgs'), 'lbs' => $this->t('lbs')],
+    ];
+    $form['body_height'] = [
       '#type' => 'textfield',
       '#title' => $this->t('Height'),
       '#maxlength' => 64,
       '#size' => 10,
-    );
-    $form['height_units'] = array(
+    ];
+    $form['height_units'] = [
       '#type' => 'select',
       '#title' => $this->t('Units'),
-      '#options' => array('cms' => $this->t('cms'), 'mts' => $this->t('mts')),
-    );
-    $form['bmi_result'] = array(
+      '#options' => ['cms' => $this->t('cms'), 'mts' => $this->t('mts')],
+    ];
+    $form['bmi_result'] = [
       '#prefix' => '<div id="box">',
       '#suffix' => '</div>',
       '#markup' => '',
-    );
-    $form['my_submit'] = array(
+    ];
+    $form['my_submit'] = [
       '#type' => 'button',
       '#value' => t('Calculate'),
-      '#ajax' => array(
+      '#ajax' => [
           'callback' => '::bmi_calculate',
           'event' => 'click',
           'wrapper' => 'box',
-          'progress' => array(
+          'progress' => [
             'type' => 'throbber'
-          ),
+          ],
 
-        ),
-    );
+        ],
+    ];
     return $form;
   }
 
diff --git a/src/Form/BodyMassIndexSettings.php b/src/Form/BodyMassIndexSettings.php
index 7bd0ab5..1bf2465 100644
--- a/src/Form/BodyMassIndexSettings.php
+++ b/src/Form/BodyMassIndexSettings.php
@@ -38,21 +38,21 @@ class BodyMassIndexSettings extends ConfigFormBase {
    */
   public function buildForm(array $form, FormStateInterface $form_state) {
     $config = $this->config('bmi.bodymassindexsettings');
-    $form['underweight_text'] = array(
+    $form['underweight_text'] = [
       '#type' => 'textarea',
       '#title' => $this->t('Less than 18.5'),
       '#default_value' => $config->get('underweight_text'),
-    );
-    $form['normalweight_text'] = array(
+    ];
+    $form['normalweight_text'] = [
       '#type' => 'textarea',
       '#title' => $this->t('18.5 - 24.9'),
       '#default_value' => $config->get('normalweight_text'),
-    );
-    $form['obesity_text'] = array(
+    ];
+    $form['obesity_text'] = [
       '#type' => 'textarea',
       '#title' => $this->t('BMI of 30 or greater'),
       '#default_value' => $config->get('obesity_text'),
-    );
+    ];
     return parent::buildForm($form, $form_state);
   }
 
