mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 04:08:59 +01:00
Update psalm
This commit is contained in:
parent
717902ec48
commit
7c88c3bea4
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 6bc1e49470eb0f4225494556033c94b3d08d1334
|
||||
Subproject commit 7af70f725d57f4bddde5e1af32db5e00fec3a162
|
@ -36,9 +36,6 @@ if (file_exists('vendor/autoload.php')) {
|
||||
include 'madeline.php';
|
||||
}
|
||||
|
||||
class SecretHandler extends SimpleEventHandler
|
||||
{
|
||||
}
|
||||
/**
|
||||
* Combined multiaccount event handler class.
|
||||
*/
|
||||
|
@ -1,5 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<files psalm-version="dev-master@a75d26a3d425d183da8bef37cfc14976c8d817d6">
|
||||
<file src="examples/bot.php">
|
||||
<LessSpecificImplementedReturnType>
|
||||
<code>int|string|array</code>
|
||||
</LessSpecificImplementedReturnType>
|
||||
<MissingFile>
|
||||
<code><![CDATA[require_once 'madeline.php']]></code>
|
||||
</MissingFile>
|
||||
<PossiblyNullArrayAccess>
|
||||
<code><![CDATA[$message->matches[1]]]></code>
|
||||
</PossiblyNullArrayAccess>
|
||||
<PossiblyNullPropertyFetch>
|
||||
<code><![CDATA[$reply->media]]></code>
|
||||
</PossiblyNullPropertyFetch>
|
||||
<PossiblyNullReference>
|
||||
<code>addReaction</code>
|
||||
<code>delReaction</code>
|
||||
<code>getDownloadLink</code>
|
||||
<code>reply</code>
|
||||
</PossiblyNullReference>
|
||||
</file>
|
||||
<file src="src/API.php">
|
||||
<ArgumentTypeCoercion>
|
||||
<code>$settings</code>
|
||||
@ -371,6 +391,8 @@
|
||||
</PossiblyNullArgument>
|
||||
<PossiblyNullReference>
|
||||
<code>getDbPrefix</code>
|
||||
<code>rethrowInner</code>
|
||||
<code>rethrowInner</code>
|
||||
</PossiblyNullReference>
|
||||
<PropertyTypeCoercion>
|
||||
<code>self::$pluginCache</code>
|
||||
|
Loading…
Reference in New Issue
Block a user