1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 06:18:58 +01:00

Small psalm fix

This commit is contained in:
Daniil Gentili 2024-04-16 19:38:03 +02:00
parent 7bec8cf3e8
commit a2a7c3a7e6
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,