We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01331d7 commit 006f999Copy full SHA for 006f999
1 file changed
src/Illuminate/Foundation/Events/DiscoverEvents.php
@@ -19,12 +19,11 @@ class DiscoverEvents
19
*/
20
public static function within($listenerPath, $basePath)
21
{
22
- return collect(static::getListenerEvents((new Finder)
23
- ->files()
24
- ->in($listenerPath), $basePath))
25
- ->mapToDictionary(function ($event, $listener) {
26
- return [$event => $listener];
27
- })->all();
+ return collect(static::getListenerEvents(
+ (new Finder)->files()->in($listenerPath), $basePath
+ ))->mapToDictionary(function ($event, $listener) {
+ return [$event => $listener];
+ })->all();
28
}
29
30
/**
0 commit comments