From 050bfce73311dcbd27e84c31a9b5d81e5a5a82f8 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Wed, 23 Jun 2021 13:05:18 -0300 Subject: [PATCH] Couple of coding standards things. --- src/EventGenerator/EmitEvent.php | 6 +++--- src/EventSubscriber/StompHeaderEventSubscriber.php | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/EventGenerator/EmitEvent.php b/src/EventGenerator/EmitEvent.php index e83dc24c8..a06bca559 100644 --- a/src/EventGenerator/EmitEvent.php +++ b/src/EventGenerator/EmitEvent.php @@ -51,7 +51,7 @@ abstract class EmitEvent extends ConfigurableActionBase implements ContainerFact protected $stomp; /** - * Event dispatcher service.. + * Event dispatcher service. * * @var \Symfony\Component\EventDispatcher\EventDispatcherInterface */ @@ -74,8 +74,8 @@ abstract class EmitEvent extends ConfigurableActionBase implements ContainerFact * EventGenerator service to serialize AS2 events. * @param \Stomp\StatefulStomp $stomp * Stomp client. - * @param \Drupal\jwt\Authentication\Provider\JwtAuth $auth - * JWT Auth client. + * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher + * Event dispatcher service. */ public function __construct( array $configuration, diff --git a/src/EventSubscriber/StompHeaderEventSubscriber.php b/src/EventSubscriber/StompHeaderEventSubscriber.php index 2ae4bc8d6..47792efd2 100644 --- a/src/EventSubscriber/StompHeaderEventSubscriber.php +++ b/src/EventSubscriber/StompHeaderEventSubscriber.php @@ -5,10 +5,8 @@ use Drupal\islandora\Event\StompHeaderEventInterface; use Drupal\jwt\Authentication\Provider\JwtAuth; -use Drupal\Core\Messenger\MessengerInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; -use Psr\Log\LoggerInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** @@ -61,4 +59,5 @@ public function baseAuth(StompHeaderEventInterface $stomp_event) { } } + }