1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 19:24:42 +01:00
This commit is contained in:
Daniil Gentili 2024-09-27 16:48:14 +02:00
parent da5fe4ba01
commit ca0378040f

View File

@ -749,7 +749,7 @@
<code><![CDATA[$this->getClient()->methodCallAsyncRead( <code><![CDATA[$this->getClient()->methodCallAsyncRead(
'messages.setTyping', 'messages.setTyping',
[ [
'peer' => $this->senderId, 'peer' => $this->chatId,
'top_msg_id' => $this->topicId, 'top_msg_id' => $this->topicId,
'action' => $action, 'action' => $action,
], ],
@ -3337,6 +3337,11 @@
<code><![CDATA[\is_int($dc_id)]]></code> <code><![CDATA[\is_int($dc_id)]]></code>
<code><![CDATA[isset($this->datacenter)]]></code> <code><![CDATA[isset($this->datacenter)]]></code>
</RedundantConditionGivenDocblockType> </RedundantConditionGivenDocblockType>
<UndefinedFunction>
<code><![CDATA[memprof_dump_pprof($file)]]></code>
<code><![CDATA[memprof_enabled()]]></code>
<code><![CDATA[memprof_enabled()]]></code>
</UndefinedFunction>
<UnsupportedReferenceUsage> <UnsupportedReferenceUsage>
<code><![CDATA[Lang::$current_lang =& Lang::$lang[$this->settings->getAppInfo()->getLangCode()]]]></code> <code><![CDATA[Lang::$current_lang =& Lang::$lang[$this->settings->getAppInfo()->getLangCode()]]]></code>
</UnsupportedReferenceUsage> </UnsupportedReferenceUsage>
@ -4376,6 +4381,8 @@
<code><![CDATA[$this->pendingDb]]></code> <code><![CDATA[$this->pendingDb]]></code>
</InvalidPropertyAssignmentValue> </InvalidPropertyAssignmentValue>
<MixedArgument> <MixedArgument>
<code><![CDATA[$bot_api_id]]></code>
<code><![CDATA[$bot_api_id]]></code>
<code><![CDATA[$bot_api_id]]></code> <code><![CDATA[$bot_api_id]]></code>
<code><![CDATA[$bot_api_id]]></code> <code><![CDATA[$bot_api_id]]></code>
<code><![CDATA[$chat['id']]]></code> <code><![CDATA[$chat['id']]]></code>
@ -4401,6 +4408,7 @@
<code><![CDATA[($this->API->methodCallAsyncRead('contacts.resolveUsername', ['username' => $username]))['peer']]]></code> <code><![CDATA[($this->API->methodCallAsyncRead('contacts.resolveUsername', ['username' => $username]))['peer']]]></code>
</MixedArrayAccess> </MixedArrayAccess>
<MixedArrayOffset> <MixedArrayOffset>
<code><![CDATA[$this->db[$bot_api_id]]]></code>
<code><![CDATA[$this->db[$bot_api_id]]]></code> <code><![CDATA[$this->db[$bot_api_id]]]></code>
<code><![CDATA[$this->db[$chat['id']]]]></code> <code><![CDATA[$this->db[$chat['id']]]]></code>
<code><![CDATA[$this->db[$chat['id']]]]></code> <code><![CDATA[$this->db[$chat['id']]]]></code>
@ -4462,6 +4470,7 @@
<code><![CDATA[(int) $result]]></code> <code><![CDATA[(int) $result]]></code>
</RedundantCastGivenDocblockType> </RedundantCastGivenDocblockType>
<RedundantConditionGivenDocblockType> <RedundantConditionGivenDocblockType>
<code><![CDATA[$id !== null]]></code>
<code><![CDATA[$result !== null]]></code> <code><![CDATA[$result !== null]]></code>
<code><![CDATA[$result !== null]]></code> <code><![CDATA[$result !== null]]></code>
<code><![CDATA[(int) $result]]></code> <code><![CDATA[(int) $result]]></code>