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,