Skip to content
Snippets Groups Projects

Issue #3525212 by sanduhrs: Fix phpstan pipeline

2 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -2,7 +2,7 @@
namespace Drupal\webhooks\Plugin\QueueWorker;
use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\Core\Queue\QueueWorkerBase;
use Drupal\Core\Queue\SuspendQueueException;
@@ -32,10 +32,10 @@ final class WebhookDispatcher extends QueueWorkerBase implements ContainerFactor
/**
* WebhookDispatcherBase constructor.
*
* @param \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher $event_dispatcher
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
* The event dispatcher.
*/
public function __construct(ContainerAwareEventDispatcher $event_dispatcher) {
public function __construct(EventDispatcherInterface $event_dispatcher) {
$this->eventDispatcher = $event_dispatcher;
}
Loading