From bbc0d1e0bacbb19464952342d2d7edb6216b1c0e Mon Sep 17 00:00:00 2001 From: Danny Lamb Date: Tue, 6 Dec 2016 15:46:50 +0000 Subject: [PATCH] Coding fix --- islandora/src/EventGenerator/EventGenerator.php | 2 +- islandora/src/EventGenerator/EventGeneratorInterface.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/islandora/src/EventGenerator/EventGenerator.php b/islandora/src/EventGenerator/EventGenerator.php index 6040bed6..e0463277 100644 --- a/islandora/src/EventGenerator/EventGenerator.php +++ b/islandora/src/EventGenerator/EventGenerator.php @@ -25,7 +25,7 @@ class EventGenerator implements EventGeneratorInterface { ], "object" => $entity->toUrl()->setAbsolute()->toString(), ]); - } + } /** * {@inheritdoc} diff --git a/islandora/src/EventGenerator/EventGeneratorInterface.php b/islandora/src/EventGenerator/EventGeneratorInterface.php index 59578a8f..766e1389 100644 --- a/islandora/src/EventGenerator/EventGeneratorInterface.php +++ b/islandora/src/EventGenerator/EventGeneratorInterface.php @@ -5,6 +5,9 @@ namespace Drupal\islandora\EventGenerator; use Drupal\Core\Entity\EntityInterface; use Drupal\user\UserInterface; +/** + * Inteface for a service that provides serialized event messages. + */ interface EventGeneratorInterface { /** @@ -45,4 +48,5 @@ interface EventGeneratorInterface { * Serialized event message */ public function generateDeleteEvent(EntityInterface $entity, UserInterface $user); + }