1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 19:04:40 +01:00

Bump baseline

This commit is contained in:
Daniil Gentili 2024-06-26 20:52:52 +02:00
parent bb782c2ab0
commit c8926ff1dc
4 changed files with 4 additions and 40 deletions

2
docs

@ -1 +1 @@
Subproject commit 2da03b4f6e1d3136996f066c536df72eda2e293c
Subproject commit 2a6b4556a2bbf2a37837c64143e7110aa7943e75

View File

@ -63,6 +63,7 @@
<code><![CDATA[$API->serializeSession($this)]]></code>
</MixedArgument>
<PossiblyNullReference>
<code><![CDATA[getSettings]]></code>
<code><![CDATA[logger]]></code>
</PossiblyNullReference>
</file>
@ -3062,19 +3063,6 @@
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
</PossiblyUndefinedVariable>
<RedundantConditionGivenDocblockType>
<code><![CDATA[$this->API->feeders[$channelId]?->resume()]]></code>
@ -3630,7 +3618,6 @@
</MixedOperand>
<PossiblyInvalidArgument>
<code><![CDATA[$response]]></code>
<code><![CDATA[hrtime(true) + ($seconds * 1_000_000_000)]]></code>
</PossiblyInvalidArgument>
<PossiblyNullArgument>
<code><![CDATA[$msgId]]></code>
@ -5386,35 +5373,11 @@
<code><![CDATA[self::LEVEL_MAP[$level]]]></code>
</MixedArrayOffset>
</file>
<file src="src/RPCError/FloodWaitError.php">
<ArgumentTypeCoercion>
<code><![CDATA[$previous]]></code>
</ArgumentTypeCoercion>
<MissingParamType>
<code><![CDATA[$caller]]></code>
<code><![CDATA[$code]]></code>
<code><![CDATA[$message]]></code>
</MissingParamType>
<MixedArgument>
<code><![CDATA[$code]]></code>
<code><![CDATA[$message]]></code>
</MixedArgument>
</file>
<file src="src/RPCErrorException.php">
<MissingParamType>
<code><![CDATA[$caller]]></code>
<code><![CDATA[$method]]></code>
</MissingParamType>
<MixedArgument>
<code><![CDATA[$method]]></code>
</MixedArgument>
<MixedArrayAssignment>
<code><![CDATA[self::$errorMethodMap[$code][$method]]]></code>
<code><![CDATA[self::$errorMethodMap[$code][$method][$error]]]></code>
</MixedArrayAssignment>
<MixedArrayOffset>
<code><![CDATA[self::$errorMethodMap[$code][$method]]]></code>
</MixedArrayOffset>
<MixedAssignment>
<code><![CDATA[$description]]></code>
<code><![CDATA[$res]]></code>

View File

@ -634,6 +634,7 @@ class RPCErrorException extends \Exception
'THEME_INVALID' => new self($rpc, 'Invalid theme provided.', $code, $caller, $previous),
'THEME_MIME_INVALID' => new self($rpc, 'The theme\'s MIME type is invalid.', $code, $caller, $previous),
'THEME_TITLE_INVALID' => new self($rpc, 'The specified theme title is invalid.', $code, $caller, $previous),
'TIMEZONE_INVALID' => new self($rpc, '', $code, $caller, $previous),
'TITLE_INVALID' => new self($rpc, 'The specified stickerpack title is invalid.', $code, $caller, $previous),
'TMP_PASSWORD_DISABLED' => new self($rpc, 'The temporary password is disabled.', $code, $caller, $previous),
'TO_LANG_INVALID' => new self($rpc, 'The specified destination language is invalid.', $code, $caller, $previous),

File diff suppressed because one or more lines are too long