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 8a02e8f commit b32808dCopy full SHA for b32808d
src/Illuminate/Foundation/Support/Providers/EventServiceProvider.php
@@ -40,7 +40,7 @@ public function register()
40
$events = $this->getEvents();
41
42
foreach ($events as $event => $listeners) {
43
- foreach (array_unique($listeners) as $listener) {
+ foreach (array_unique($listeners, SORT_REGULAR) as $listener) {
44
Event::listen($event, $listener);
45
}
46
0 commit comments