Skip to content

Commit

Permalink
Fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Jul 18, 2020
1 parent 906722c commit 570ffaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConstructingAggregateRootRepository.php
Expand Up @@ -76,7 +76,7 @@ public function persist(object $aggregateRoot): void

public function persistEvents(AggregateRootId $aggregateRootId, int $aggregateRootVersion, object ...$events): void
{
if (count($events) === 0) {
if (0 === count($events)) {
return;
}

Expand Down

0 comments on commit 570ffaa

Please sign in to comment.