From 9959e7a5d1be70c4713459f35f725823c178250d Mon Sep 17 00:00:00 2001 From: Francisco Neves Date: Wed, 15 Apr 2020 18:00:47 +0100 Subject: [PATCH] Fix readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 52056694dd..219e5a8fa4 100644 --- a/README.md +++ b/README.md @@ -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); });