From f47d31c227c289f8eeaf5b4299791701444ce165 Mon Sep 17 00:00:00 2001 From: netkas Date: Thu, 30 Jan 2025 00:31:41 -0500 Subject: [PATCH] Updated message formatting in exception --- .../Exceptions/Standard/InvalidRpcArgumentException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socialbox/Exceptions/Standard/InvalidRpcArgumentException.php b/src/Socialbox/Exceptions/Standard/InvalidRpcArgumentException.php index fb1abd3..fe167a9 100644 --- a/src/Socialbox/Exceptions/Standard/InvalidRpcArgumentException.php +++ b/src/Socialbox/Exceptions/Standard/InvalidRpcArgumentException.php @@ -14,6 +14,6 @@ */ public function __construct(string $parameterName, string $reason) { - parent::__construct(sprintf('The parameter %s is invalid: %s', $parameterName, $reason), StandardError::RPC_INVALID_ARGUMENTS); + parent::__construct(sprintf('Invalid parameter %s: %s', $parameterName, $reason), StandardError::RPC_INVALID_ARGUMENTS); } } \ No newline at end of file