mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-02 11:17:45 +01:00
Small psalm fix
This commit is contained in:
parent
aea8a3ed06
commit
238f49b259
2
docs
2
docs
@ -1 +1 @@
|
|||||||
Subproject commit bcc7116bd7b61341a5c42216c730c95e3b9002f4
|
Subproject commit 6aadef21dbfd45e8d088004379f927c4aa71abf3
|
@ -213,7 +213,7 @@ class RPCErrorException extends \Exception
|
|||||||
string $rpc,
|
string $rpc,
|
||||||
int $code,
|
int $code,
|
||||||
string $caller,
|
string $caller,
|
||||||
?Exception $previous = null
|
?\Exception $previous = null
|
||||||
): self {
|
): self {
|
||||||
// Start match
|
// Start match
|
||||||
match ($rpc) {
|
match ($rpc) {
|
||||||
@ -740,7 +740,7 @@ class RPCErrorException extends \Exception
|
|||||||
public readonly string $description,
|
public readonly string $description,
|
||||||
int $code,
|
int $code,
|
||||||
private readonly string $caller,
|
private readonly string $caller,
|
||||||
?Exception $previous = null
|
?\Exception $previous = null
|
||||||
) {
|
) {
|
||||||
parent::__construct($rpc, $code, $previous);
|
parent::__construct($rpc, $code, $previous);
|
||||||
$this->prettifyTL($caller);
|
$this->prettifyTL($caller);
|
||||||
|
Loading…
Reference in New Issue
Block a user