From cf491943566fcd7c27209857dd4eb929eae01ebc Mon Sep 17 00:00:00 2001 From: dannylamb <dlamb@islandora.ca> Date: Thu, 24 Aug 2023 16:43:32 -0300 Subject: [PATCH] coding standards --- src/EventGenerator/EventGenerator.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/EventGenerator/EventGenerator.php b/src/EventGenerator/EventGenerator.php index 85c0958c..4c29e44b 100644 --- a/src/EventGenerator/EventGenerator.php +++ b/src/EventGenerator/EventGenerator.php @@ -147,7 +147,15 @@ class EventGenerator implements EventGeneratorInterface { } } - $allowed_keys = ["file_upload_uri", "fedora_uri", "source_uri", "destination_uri", "args", "mimetype", "source_field"]; + $allowed_keys = [ + "file_upload_uri", + "fedora_uri", + "source_uri", + "destination_uri", + "args", + "mimetype", + "source_field", + ]; $keys_to_unset = array_diff(array_keys($data), $allowed_keys); foreach ($keys_to_unset as $key) { unset($data[$key]);