From a2a7c3a7e657641651c9df2f7856a2e1f2ff0ec9 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 16 Apr 2024 19:38:03 +0200 Subject: [PATCH] Small psalm fix --- psalm.xml | 1 + src/MTProtoTools/FilesLogic.php | 1 + 2 files changed, 2 insertions(+) diff --git a/psalm.xml b/psalm.xml index d8ae6a560..c76a77ba7 100644 --- a/psalm.xml +++ b/psalm.xml @@ -20,6 +20,7 @@ + diff --git a/src/MTProtoTools/FilesLogic.php b/src/MTProtoTools/FilesLogic.php index 40c9985a0..c5eb07111 100644 --- a/src/MTProtoTools/FilesLogic.php +++ b/src/MTProtoTools/FilesLogic.php @@ -111,6 +111,7 @@ trait FilesLogic Assert::true(isset($_SERVER['REQUEST_METHOD'])); + /** @psalm-suppress PossiblyUndefinedArrayOffset */ $result = ResponseInfo::parseHeaders( $_SERVER['REQUEST_METHOD'], $headers,