From 8ef1d87d4610fe212ecb52cffec7d18e2cb91a68 Mon Sep 17 00:00:00 2001 From: Jesper Kristensen Date: Thu, 12 Dec 2024 10:16:55 +0100 Subject: [PATCH] ITKDev: Code style fixes --- modules/os2web_audit_entity/os2web_audit_entity.module | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/os2web_audit_entity/os2web_audit_entity.module b/modules/os2web_audit_entity/os2web_audit_entity.module index 4c00f3d..33c229e 100644 --- a/modules/os2web_audit_entity/os2web_audit_entity.module +++ b/modules/os2web_audit_entity/os2web_audit_entity.module @@ -62,9 +62,12 @@ function os2web_audit_entity_entity_storage_load(array $entities, $entity_type): /** * Implements hook_webform_post_load_data(). + * + * @param array<\Drupal\webform_revisions\Entity\WebformRevisionsSubmission> $submissions + * Webform subs. */ function os2web_audit_entity_webform_post_load_data(array $submissions): void { - /** @var array<\Drupal\webform_revisions\Entity\WebformRevisionsSubmission> $submissions */ + foreach ($submissions as $submission) { // Try to check for _cpr field for extra logging information. $personal = '';