From 50e2d18520e8c4b6ac014a2969075b123b8125e8 Mon Sep 17 00:00:00 2001 From: netkas Date: Fri, 7 Feb 2025 22:30:05 -0500 Subject: [PATCH] Reversed the default parameter --- src/Socialbox/Objects/RpcRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socialbox/Objects/RpcRequest.php b/src/Socialbox/Objects/RpcRequest.php index 7751907..a5a6013 100644 --- a/src/Socialbox/Objects/RpcRequest.php +++ b/src/Socialbox/Objects/RpcRequest.php @@ -71,7 +71,7 @@ * @param bool $nullAllowed True if the parameter value can be null, False otherwise. * @return bool True if the parameter exists, False otherwise. */ - public function containsParameter(string $parameter, bool $nullAllowed=true): bool + public function containsParameter(string $parameter, bool $nullAllowed=false): bool { if(!$nullAllowed) {