Skip to content
Snippets Groups Projects
Commit 31b0918e authored by Jacob Rockowitz's avatar Jacob Rockowitz Committed by Jonathan Smith
Browse files

Issue #3437739 by jonathan1055, jrockowitz, gcb, phenaproxima:...

Issue #3437739 by jonathan1055, jrockowitz, gcb, phenaproxima: SchedulerManager should take an EventDispatcherInterface object, not ContainerAwareEventDispatcher
parent f3839a76
No related branches found
Tags 1.0.0-alpha17
1 merge request!128Issue #3437739: [error] TypeError:...
Pipeline #150342 passed
......@@ -3,7 +3,6 @@
namespace Drupal\scheduler;
use Drupal\Component\Datetime\TimeInterface;
use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher;
use Drupal\Component\EventDispatcher\Event;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Config\ConfigFactoryInterface;
......@@ -20,6 +19,7 @@ use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\Url;
use Drupal\scheduler\Event\SchedulerEvent;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/**
* Defines a scheduler manager.
......@@ -66,7 +66,7 @@ class SchedulerManager {
/**
* The event dispatcher.
*
* @var \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
*/
protected $eventDispatcher;
......@@ -99,7 +99,7 @@ class SchedulerManager {
ModuleHandlerInterface $moduleHandler,
EntityTypeManagerInterface $entityTypeManager,
ConfigFactoryInterface $configFactory,
ContainerAwareEventDispatcher $eventDispatcher,
EventDispatcherInterface $eventDispatcher,
TimeInterface $time,
EntityFieldManagerInterface $entityFieldManager,
SchedulerPluginManager $pluginManager
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment