diff --git a/src/EventGenerator/EmitEvent.php b/src/EventGenerator/EmitEvent.php index 9b2377d3..ebec711f 100644 --- a/src/EventGenerator/EmitEvent.php +++ b/src/EventGenerator/EmitEvent.php @@ -54,7 +54,7 @@ abstract class EmitEvent extends ConfigurableActionBase implements ContainerFact protected $stomp; /** - * Event dispatcher service.. + * Event dispatcher service. * * @var \Symfony\Component\EventDispatcher\EventDispatcherInterface */ @@ -84,10 +84,10 @@ 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 \Drupal\Core\Messenger\MessengerInterface $messenger * The messenger. + * @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 2ae4bc8d..47792efd 100644 --- a/src/EventSubscriber/StompHeaderEventSubscriber.php +++ b/src/EventSubscriber/StompHeaderEventSubscriber.php @@ -5,10 +5,8 @@ namespace Drupal\islandora\EventSubscriber; 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 @@ class StompHeaderEventSubscriber implements EventSubscriberInterface { } } + } diff --git a/src/Plugin/Action/AbstractGenerateDerivativeBase.php b/src/Plugin/Action/AbstractGenerateDerivativeBase.php index 05353d4a..3c7ff5b6 100644 --- a/src/Plugin/Action/AbstractGenerateDerivativeBase.php +++ b/src/Plugin/Action/AbstractGenerateDerivativeBase.php @@ -11,7 +11,6 @@ use Drupal\islandora\IslandoraUtils; use Drupal\islandora\EventGenerator\EmitEvent; use Drupal\islandora\EventGenerator\EventGeneratorInterface; use Drupal\islandora\MediaSource\MediaSourceService; -use Drupal\jwt\Authentication\Provider\JwtAuth; use Drupal\token\TokenInterface; use Stomp\StatefulStomp; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -81,8 +80,6 @@ class AbstractGenerateDerivativeBase extends EmitEvent { * EventGenerator service to serialize AS2 events. * @param \Stomp\StatefulStomp $stomp * Stomp client. - * @param \Drupal\jwt\Authentication\Provider\JwtAuth $auth - * JWT Auth client. * @param \Drupal\islandora\IslandoraUtils $utils * Islandora utility functions. * @param \Drupal\islandora\MediaSource\MediaSourceService $media_source @@ -95,6 +92,8 @@ class AbstractGenerateDerivativeBase extends EmitEvent { * The system file config. * @param \Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager * Field Manager service. + * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher + * Event dispatcher service. */ public function __construct( array $configuration,