Skip to content
Permalink
Browse files

formatting

  • Loading branch information...
taylorotwell committed Apr 8, 2019
1 parent 01331d7 commit 006f999d8c629bf87ea0252447866a879d7d4a6e
Showing with 5 additions and 6 deletions.
  1. +5 −6 src/Illuminate/Foundation/Events/DiscoverEvents.php
@@ -19,12 +19,11 @@ class DiscoverEvents
*/
public static function within($listenerPath, $basePath)
{
return collect(static::getListenerEvents((new Finder)
->files()
->in($listenerPath), $basePath))
->mapToDictionary(function ($event, $listener) {
return [$event => $listener];
})->all();
return collect(static::getListenerEvents(
(new Finder)->files()->in($listenerPath), $basePath
))->mapToDictionary(function ($event, $listener) {
return [$event => $listener];
})->all();
}
/**

0 comments on commit 006f999

Please sign in to comment.
You can’t perform that action at this time.