mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 23:14:38 +01:00
Small psalm fix
This commit is contained in:
parent
27e4c750b9
commit
b56283c789
@ -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>
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user