Skip to content

Commit 21e4280

Browse files
authored
refactor: remove comments
1 parent 912717b commit 21e4280

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/BoostServiceProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,6 @@ private static function mapJsTypeToPsr3Level(string $type): string
180180

181181
private function hookIntoResponses(Router $router): void
182182
{
183-
// In Kernel-based apps (pre-Laravel 11 bootstrap), middleware groups can be
184-
// defined or overwritten later in the boot cycle, which could remove any
185-
// middleware we push here if we do it too early. Deferring this until the
186-
// application is fully booted ensures our middleware stays appended.
187183
$this->app->booted(function () use ($router) {
188184
$router->pushMiddlewareToGroup('web', InjectBoost::class);
189185
});

0 commit comments

Comments
 (0)