Skip to content

Commit de13c07

Browse files
committed
Fixed return type in TrustHosts
1 parent 29a2e99 commit de13c07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Http/Middleware/TrustHosts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function hosts(): array
4141
/**
4242
* @param \Closure(Request): Response $next
4343
*/
44-
public function handle(Request $request, $next): Response
44+
public function handle(Request $request, $next)
4545
{
4646
// Exempt health checks (probed by IP). Also reset the trusted hosts,
4747
// since Octane leaks the static state across requests.

0 commit comments

Comments
 (0)