Skip to content
Permalink
Browse files

sort events in event:list command

  • Loading branch information...
themsaid committed Apr 2, 2019
1 parent c84e44d commit 343775115722ed0e6c3455b72ee7204aefdf37d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Illuminate/Foundation/Console/EventListCommand.php
@@ -48,6 +48,6 @@ protected function getEvents()
return collect($events)->map(function ($value, $key) {
return ['Event' => $key, 'Listeners' => implode("\n", $value)];
})->values()->toArray();
})->sortBy('Event')->values()->toArray();
}
}

0 comments on commit 3437751

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