We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 870e880 commit 8388a5dCopy full SHA for 8388a5d
src/EventDispatcher/EventDispatcher.php
@@ -6,7 +6,7 @@
6
use Psr\EventDispatcher\EventDispatcherInterface;
7
8
/**
9
- * Laravel does not have a built service for Psr\EventDispatcher\EventDispatcherInterface.
+ * Laravel does not have a built-in service for \Psr\EventDispatcher\EventDispatcherInterface.
10
* So we are implemented our own.
11
*/
12
class EventDispatcher implements EventDispatcherInterface
@@ -17,5 +17,7 @@ class EventDispatcher implements EventDispatcherInterface
17
public function dispatch(object $event)
18
{
19
Event::dispatch($event);
20
+
21
+ return $event;
22
}
23
0 commit comments