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 7dffe1e commit be69f0eCopy full SHA for be69f0e
src/Internal/Service/DispatcherService.php
@@ -27,7 +27,7 @@ public function dispatch(EventInterface $event): void
27
28
public function flush(): void
29
{
30
- foreach ($this->events as $event => $value) {
+ foreach (array_keys($this->events) as $event) {
31
$this->dispatcher->flush($event);
32
}
33
@@ -37,7 +37,7 @@ public function flush(): void
37
38
public function forgot(): void
39
40
41
$this->dispatcher->forget($event);
42
43
0 commit comments