mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 06:39:01 +01:00
Fix psalm
This commit is contained in:
parent
264c3c9eee
commit
f04d072af0
@ -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(
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user