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:
parent
7bec8cf3e8
commit
a2a7c3a7e6
@ -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