Skip to content

Commit

Permalink
fix: Remove superfluous assertIsEmpty argument
Browse files Browse the repository at this point in the history
  • Loading branch information
frankverhoeven committed Oct 4, 2022
1 parent 740b1e1 commit 53ca5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository/InMemoryAggregateRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function save(AggregateRoot $aggregateRoot): void
$this->aggregates[$aggregateRoot->getAggregateRootId()->toString()] = $aggregateRoot;
}

public function assertIsEmpty(AggregateRootId $aggregateRootId): void
public function assertIsEmpty(): void
{
Assert::assertCount(0, $this->aggregates);
}
Expand Down

0 comments on commit 53ca5f1

Please sign in to comment.