From a610a7d8032e1913925766e574013bef17f44cdd Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Sun, 19 May 2024 00:16:40 +0400 Subject: [PATCH] Fix psalm issues --- psalm.xml | 6 ++++++ src/Dispatcher.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 */