lint: fix php

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/685/head
Varun Patil 2023-06-03 09:06:46 -07:00
parent dd38ba04f2
commit 078f4f7a5c
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ class Util
public static function callerIsNative(): bool public static function callerIsNative(): bool
{ {
// Should not use IRequest here since this method is called during registration // Should not use IRequest here since this method is called during registration
if (array_key_exists('HTTP_X_REQUESTED_WITH', $_SERVER)) { if (\array_key_exists('HTTP_X_REQUESTED_WITH', $_SERVER)) {
return 'gallery.memories' === $_SERVER['HTTP_X_REQUESTED_WITH']; return 'gallery.memories' === $_SERVER['HTTP_X_REQUESTED_WITH'];
} }