From fd187f07bceda1023a5ba296fea9c3d1301130e5 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Tue, 24 Sep 2024 20:37:36 +0300 Subject: [PATCH] Fix implict null --- SourceQuery/SourceQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SourceQuery/SourceQuery.php b/SourceQuery/SourceQuery.php index 53f6b10..8ab1a95 100644 --- a/SourceQuery/SourceQuery.php +++ b/SourceQuery/SourceQuery.php @@ -95,7 +95,7 @@ class SourceQuery */ private bool $UseOldGetChallengeMethod = false; - public function __construct( BaseSocket $Socket = null ) + public function __construct( ?BaseSocket $Socket = null ) { $this->Socket = $Socket ?: new Socket( ); }