Skip to content

Commit

Permalink
eventStore may contain reference to decorator which can cause Reflect…
Browse files Browse the repository at this point in the history
…ionException (#420)
  • Loading branch information
unixslayer authored Apr 20, 2021
1 parent 59bb965 commit 25510bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Projection/InMemoryEventStoreProjector.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ private function prepareStreamPositions(): void
$reflectionProperty->setAccessible(true);

$streamPositions = [];
$streams = \array_keys($reflectionProperty->getValue($this->eventStore));
$streams = \array_keys($reflectionProperty->getValue($this->innerEventStore));

if (isset($this->query['all'])) {
foreach ($streams as $stream) {
Expand Down

1 comment on commit 25510bf

@unixslayer
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prolic can you make a release 7.6.1 with this patch?

Please sign in to comment.