From 238f49b25972e15c7bafc310b542dd718f009647 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 15 Jun 2024 16:01:33 +0200 Subject: [PATCH] Small psalm fix --- docs | 2 +- src/RPCErrorException.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs b/docs index bcc7116bd..6aadef21d 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit bcc7116bd7b61341a5c42216c730c95e3b9002f4 +Subproject commit 6aadef21dbfd45e8d088004379f927c4aa71abf3 diff --git a/src/RPCErrorException.php b/src/RPCErrorException.php index 7db878da5..f980bd417 100644 --- a/src/RPCErrorException.php +++ b/src/RPCErrorException.php @@ -213,7 +213,7 @@ class RPCErrorException extends \Exception string $rpc, int $code, string $caller, - ?Exception $previous = null + ?\Exception $previous = null ): self { // Start match match ($rpc) { @@ -740,7 +740,7 @@ class RPCErrorException extends \Exception public readonly string $description, int $code, private readonly string $caller, - ?Exception $previous = null + ?\Exception $previous = null ) { parent::__construct($rpc, $code, $previous); $this->prettifyTL($caller);