Skip to content

Commit

Permalink
Run init if NOT initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
codeliner committed Jul 24, 2018
1 parent d845dc3 commit e76ff8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Projecting/ReadModelProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function reset(): void

public function delete(): void
{
if($this->isInitialized()) {
if (! $this->isInitialized()) {
$this->init();
}

Expand Down

0 comments on commit e76ff8f

Please sign in to comment.