mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
Fixed return type in TrustHosts
This commit is contained in:
@@ -41,7 +41,7 @@ class TrustHosts extends BaseTrustHosts
|
|||||||
/**
|
/**
|
||||||
* @param \Closure(Request): Response $next
|
* @param \Closure(Request): Response $next
|
||||||
*/
|
*/
|
||||||
public function handle(Request $request, $next): Response
|
public function handle(Request $request, $next)
|
||||||
{
|
{
|
||||||
// Exempt health checks (probed by IP). Also reset the trusted hosts,
|
// Exempt health checks (probed by IP). Also reset the trusted hosts,
|
||||||
// since Octane leaks the static state across requests.
|
// since Octane leaks the static state across requests.
|
||||||
|
|||||||
Reference in New Issue
Block a user