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

Fix psalm

This commit is contained in:
Daniil Gentili 2024-05-16 00:54:10 +02:00
parent 264c3c9eee
commit f04d072af0
2 changed files with 0 additions and 8 deletions

View File

@ -3100,7 +3100,6 @@
<code><![CDATA[new PeerDatabase($this)]]></code>
</DocblockTypeContradiction>
<ImpureMethodCall>
<code><![CDATA[getPid]]></code>
<code><![CDATA[load]]></code>
<code><![CDATA[load]]></code>
<code><![CDATA[updateDefault]]></code>
@ -3114,12 +3113,6 @@
<InvalidArgument>
<code><![CDATA[$callbacks]]></code>
<code><![CDATA[$callbacks]]></code>
<code><![CDATA[[
'php_version' => PHP_VERSION,
'php_version_id' => PHP_VERSION_ID,
'madeline_version' => API::RELEASE,
'pid' => Magic::getPid() ?? 'unknown',
]]]></code>
</InvalidArgument>
<InvalidReturnStatement>
<code><![CDATA[array_merge(

View File

@ -936,7 +936,6 @@ final class MTProto implements TLCallback, LoggerGetter, SettingsGetter
$info = $this->getPromGauge("MadelineProto", "version", "Info about the MadelineProto instance");
$info?->set(1, [
'php_version' => PHP_VERSION,
'php_version_id' => PHP_VERSION_ID,
'madeline_version' => API::RELEASE,
]);
$endpoint = $this->getSettings()->getPrometheus()->getMetricsBindTo();