Skip to content

Commit

Permalink
replace get with make (#80)
Browse files Browse the repository at this point in the history
replace get with make in the `publish` helper function
  • Loading branch information
ahloul authored Dec 6, 2021
1 parent 0bd97fb commit d67d79a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public function toPublish(): array
}
};
}

Container::getInstance()
->get(Publisher::class)
->make(Publisher::class)
->publish($event);
}

Expand Down

0 comments on commit d67d79a

Please sign in to comment.