mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-22 18:28:26 +00:00
apply StyleCI recommendation
This commit is contained in:
parent
69e5fc1b05
commit
9c5ba6ffc3
1 changed files with 1 additions and 1 deletions
|
|
@ -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) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue