From 5401c164b947d45e439456fabfac16ddf9f468c5 Mon Sep 17 00:00:00 2001 From: Litiano Date: Thu, 29 Jun 2017 23:48:43 -0300 Subject: [PATCH] Update CallbackEvent.php (#19834) --- src/Illuminate/Console/Scheduling/CallbackEvent.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Illuminate/Console/Scheduling/CallbackEvent.php b/src/Illuminate/Console/Scheduling/CallbackEvent.php index 4d0a8b6edd2f..7db7e1fe266a 100644 --- a/src/Illuminate/Console/Scheduling/CallbackEvent.php +++ b/src/Illuminate/Console/Scheduling/CallbackEvent.php @@ -101,6 +101,8 @@ public function withoutOverlapping() "A scheduled event name is required to prevent overlapping. Use the 'name' method before 'withoutOverlapping'." ); } + + $this->withoutOverlapping = true; return $this->skip(function () { return $this->mutex->exists($this);