diff --git a/psalm.xml b/psalm.xml index d4a2702..c695981 100644 --- a/psalm.xml +++ b/psalm.xml @@ -14,6 +14,12 @@ + + + + + + diff --git a/src/Dispatcher.php b/src/Dispatcher.php index bc643b4..0a750ad 100644 --- a/src/Dispatcher.php +++ b/src/Dispatcher.php @@ -32,7 +32,7 @@ public function serve(): void /** * @var array|class-string, ReflectionClass> $declarations */ - $declarations = $this->container->get(DeclarationLocatorInterface::class)->getDeclarations(); + $declarations = $this->container->get(DeclarationRegistryInterface::class)->getDeclarations(); // factory initiates and runs task queue specific activity and workflow workers /** @var WorkerFactoryInterface $factory */