From 5cb7dcbdbfc6d3f3ae7e93926a2fba223c526fb6 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 29 Jan 2024 13:17:53 +0100 Subject: [PATCH] Remove cast --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 5854ebb5..4775d6b0 100644 --- a/index.php +++ b/index.php @@ -82,7 +82,7 @@ require_once __DIR__ . '/vendor/autoload.php'; * */ -if (str_contains((string) $_SERVER['REQUEST_URI'] ?? '', '.min.js.map')) { +if (str_contains($_SERVER['REQUEST_URI'] ?? '', '.min.js.map')) { http_response_code(404); exit(); }