diff --git a/src/Plugin/migrate/destination/DraggableViews.php b/src/Plugin/migrate/destination/DraggableViews.php
index 92f5e9f..5c3f363 100644
--- a/src/Plugin/migrate/destination/DraggableViews.php
+++ b/src/Plugin/migrate/destination/DraggableViews.php
@@ -50,7 +50,7 @@ class DraggableViews extends DestinationBase {
       'parent' => $row->getDestinationProperty('parent'),
     ];
     $result = Database::getConnection()->insert('draggableviews_structure')->fields($record)->execute();
-    return array($result);
+    return [$result];
   }
 
   /**
diff --git a/src/Plugin/views/field/DraggableViewsField.php b/src/Plugin/views/field/DraggableViewsField.php
index bfade16..0e8e5b3 100755
--- a/src/Plugin/views/field/DraggableViewsField.php
+++ b/src/Plugin/views/field/DraggableViewsField.php
@@ -55,23 +55,23 @@ class DraggableViewsField extends BulkForm {
     $draggableviews = new DraggableViews($this->view);
 
     foreach ($this->view->result as $row_index => $row) {
-      $form[$this->options['id']][$row_index] = array(
+      $form[$this->options['id']][$row_index] = [
         '#tree' => TRUE,
-      );
+      ];
 
       // Item to keep id of the entity.
-      $form[$this->options['id']][$row_index]['id'] = array(
+      $form[$this->options['id']][$row_index]['id'] = [
         '#type' => 'hidden',
         '#value' => $row->{$this->definition['entity field']},
-        '#attributes' => array('class' => 'draggableviews-id'),
-      );
+        '#attributes' => ['class' => 'draggableviews-id'],
+      ];
 
       // Add parent.
-      $form[$this->options['id']][$row_index]['parent'] = array(
+      $form[$this->options['id']][$row_index]['parent'] = [
         '#type' => 'hidden',
         '#default_value' => $draggableviews->getParent($row_index),
-        '#attributes' => array('class' => 'draggableviews-parent'),
-      );
+        '#attributes' => ['class' => 'draggableviews-parent'],
+      ];
     }
 
     if (\Drupal::currentUser()->hasPermission('access draggableviews')) {
