From 728208f02d097897749e4e1029ed6daf84a888fa Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Wed, 13 Apr 2022 10:28:25 -0400
Subject: [PATCH] ISTWCMS-4729: coding standards

---
 uw_cfg_common.module | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/uw_cfg_common.module b/uw_cfg_common.module
index 8c322f23..c01b0b7c 100644
--- a/uw_cfg_common.module
+++ b/uw_cfg_common.module
@@ -23,13 +23,13 @@ use Drupal\webform\WebformInterface;
 use Drupal\webform\WebformSubmissionStorageInterface;
 
 /**
- * Implementation of hook_preprocess_form_element().
+ * Implements hook_preprocess_form_element().
  *
  * Allows for use of label_class in form elements and will add
  * any class in label_classes to the label.
  */
 function uw_cfg_common_preprocess_form_element(&$variables) {
-  if(isset($variables['element']['#label_classes'])) {
+  if (isset($variables['element']['#label_classes'])) {
     $variables['label']['#attributes']['class'] = $variables['element']['#label_classes'];
   }
 }
-- 
GitLab