Skip to content

Commit 848bd57

Browse files
authored
Fix grammar in event dispatcher comment (#57983)
1 parent 1e78dfb commit 848bd57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Events/Dispatcher.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ public function until($event, $payload = [])
265265
*/
266266
public function dispatch($event, $payload = [], $halt = false)
267267
{
268-
// When the given "event" is actually an object we will assume it is an event
269-
// object and use the class as the event name and this event itself as the
270-
// payload to the handler, which makes object based events quite simple.
268+
// When the given "event" is actually an object, we will assume it is an event
269+
// object, and use the class as the event name and this event itself as the
270+
// payload to the handler, which makes object-based events quite simple.
271271
[$isEventObject, $parsedEvent, $parsedPayload] = [
272272
is_object($event),
273273
...$this->parseEventAndPayload($event, $payload),

0 commit comments

Comments
 (0)