Remove redundant tap() helper in index.php (#5719)

This commit is contained in:
Adam Mospan 2021-11-05 15:00:12 +02:00 committed by GitHub
parent 5d22b2464c
commit ca8e5d65da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,8 @@ $app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$response = $kernel->handle(
$request = Request::capture()
))->send();
)->send();
$kernel->terminate($request, $response);