1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 20:35:23 +01:00

Small psalm fix

This commit is contained in:
Daniil Gentili 2024-04-16 19:38:03 +02:00
parent 27e4c750b9
commit b56283c789
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@
<ignoreFiles>
<directory name="vendor" />
<file name="src/TL/TLParser.php" />
<file name="src/InternalDoc.php" />
<file name="src/TL/SecretTLParser.php" />
</ignoreFiles>
</projectFiles>

View File

@ -111,6 +111,7 @@ trait FilesLogic
Assert::true(isset($_SERVER['REQUEST_METHOD']));
/** @psalm-suppress PossiblyUndefinedArrayOffset */
$result = ResponseInfo::parseHeaders(
$_SERVER['REQUEST_METHOD'],
$headers,