Skip to content

Commit

Permalink
fix find projector in projectionist
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Feb 26, 2024
1 parent 5f3178a commit 273aeb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Projection/Projectionist/DefaultProjectionist.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand All @@ -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
Expand Down

0 comments on commit 273aeb6

Please sign in to comment.