From 9c5ba6ffc3d36277ec33432d21a40b14c2cb483d Mon Sep 17 00:00:00 2001 From: El RIDO Date: Wed, 19 Nov 2025 19:26:00 +0100 Subject: [PATCH] apply StyleCI recommendation --- lib/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Request.php b/lib/Request.php index 71c6ea94..43e3abba 100644 --- a/lib/Request.php +++ b/lib/Request.php @@ -266,7 +266,7 @@ class Request // simple cases if ( - ($_SERVER['HTTP_X_REQUESTED_WITH'] ?? '' ) == 'JSONHttpRequest' || + ($_SERVER['HTTP_X_REQUESTED_WITH'] ?? '') == 'JSONHttpRequest' || ( str_contains($acceptHeader, self::MIME_JSON) && !str_contains($acceptHeader, self::MIME_HTML) &&