diff --git a/profile.module b/profile.module
index 089d178..d2c6a91 100644
--- a/profile.module
+++ b/profile.module
@@ -133,12 +133,12 @@ function profile_entity_extra_field_info() {
   // automatically to other view modes.
   /** @var \Drupal\profile\Entity\ProfileType $bundle */
   foreach (ProfileType::loadMultiple() as $bundle) {
-    $extra['user']['user']['display']['profile_' . $bundle->id()] = array(
+    $extra['user']['user']['display']['profile_' . $bundle->id()] = [
       'label' => $bundle->label(),
       'description' => t('Display @type profiles', ['@type' => $bundle->label()]),
       'weight' => 10,
       'visible' => FALSE,
-    );
+    ];
   }
   return $extra;
 }
