1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 12:37:47 +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> <ignoreFiles>
<directory name="vendor" /> <directory name="vendor" />
<file name="src/TL/TLParser.php" /> <file name="src/TL/TLParser.php" />
<file name="src/InternalDoc.php" />
<file name="src/TL/SecretTLParser.php" /> <file name="src/TL/SecretTLParser.php" />
</ignoreFiles> </ignoreFiles>
</projectFiles> </projectFiles>

View File

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