Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fntneves committed Apr 15, 2020
1 parent d5e18b9 commit 9959e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ This helper can be used to ensure that Jobs are dispatched only after the transa
DB::transaction(function () {
...

dispatch(new TransactionalClosureEvent(function () {
Event::dispatch(new TransactionalClosureEvent(function () {
// Job will be dispatched only if the transaction commits.
ProcessOrderShippingJob::dispatch($order);
});
Expand Down

0 comments on commit 9959e7a

Please sign in to comment.