diff --git a/src/Illuminate/Events/Dispatcher.php b/src/Illuminate/Events/Dispatcher.php index d04b7904d37b..48731abf8d3f 100755 --- a/src/Illuminate/Events/Dispatcher.php +++ b/src/Illuminate/Events/Dispatcher.php @@ -265,9 +265,9 @@ public function until($event, $payload = []) */ public function dispatch($event, $payload = [], $halt = false) { - // When the given "event" is actually an object we will assume it is an event - // object and use the class as the event name and this event itself as the - // payload to the handler, which makes object based events quite simple. + // When the given "event" is actually an object, we will assume it is an event + // object, and use the class as the event name and this event itself as the + // payload to the handler, which makes object-based events quite simple. [$isEventObject, $parsedEvent, $parsedPayload] = [ is_object($event), ...$this->parseEventAndPayload($event, $payload),