Skip to content

Commit

Permalink
fix(provider): Call next in LoadProviderRoutesPipe
Browse files Browse the repository at this point in the history
  • Loading branch information
pionl committed Sep 27, 2022
1 parent 2fc8c04 commit 6f5a57e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Providers/Pipes/LoadProviderRoutesPipe.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function handle(AppServiceProviderEntity $appServiceProvider, Closure $ne
if (($appServiceProvider->application instanceof CachesRoutes &&
$appServiceProvider->application->routesAreCached()) === false) {
if ($appServiceProvider->serviceProvider instanceof HasRoutes === false) {
$next($appServiceProvider);
return;
}

Expand Down

0 comments on commit 6f5a57e

Please sign in to comment.