From fd3962ef74b8aad2265eb9fbb24b0bfdb846c992 Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Wed, 19 Oct 2022 08:03:26 -0400 Subject: [PATCH] ISTWCMS-5880: coding standards --- uw_cfg_common.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uw_cfg_common.install b/uw_cfg_common.install index ebd4db8a..1c622d7e 100644 --- a/uw_cfg_common.install +++ b/uw_cfg_common.install @@ -509,7 +509,7 @@ function uw_cfg_common_update_9106(&$sandbox) { } // Get the type of media field that we need to udpate. - $type_of_media = current(\Drupal::entityTypeManager()->getStorage('field_storage_config')->loadByProperties(array('id' => 'node.field_uw_type_of_media'))); + $type_of_media = current(\Drupal::entityTypeManager()->getStorage('field_storage_config')->loadByProperties(['id' => 'node.field_uw_type_of_media'])); // Get the type of media settings. $settings = $type_of_media->getSettings(); -- GitLab