From 273aeb6527b249c09c48ad24a08d1a4348350f8c Mon Sep 17 00:00:00 2001 From: David Badura Date: Mon, 26 Feb 2024 20:49:15 +0100 Subject: [PATCH] fix find projector in projectionist --- src/Projection/Projectionist/DefaultProjectionist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Projection/Projectionist/DefaultProjectionist.php b/src/Projection/Projectionist/DefaultProjectionist.php index c12c412e5..6c46c3fdf 100644 --- a/src/Projection/Projectionist/DefaultProjectionist.php +++ b/src/Projection/Projectionist/DefaultProjectionist.php @@ -548,7 +548,7 @@ private function handleMessage(int $index, Message $message, Projection $project ); } - private function projector(string $projectorId): object|null + private function projector(string $projectionId): object|null { if ($this->projectorIndex === null) { $this->projectorIndex = []; @@ -560,7 +560,7 @@ private function projector(string $projectorId): object|null } } - return $this->projectorIndex[$projectorId] ?? null; + return $this->projectorIndex[$projectionId] ?? null; } private function handleOutdatedProjections(ProjectionistCriteria $criteria): void