From 19cc12db45bb3e1406fddfb6c7bee2188796ca40 Mon Sep 17 00:00:00 2001 From: "n[oO]ne" Date: Thu, 8 May 2025 08:05:53 +0700 Subject: [PATCH] fix: Implicitly marking parameter null for php 8.4 --- src/Flipt/Client/FliptClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Flipt/Client/FliptClient.php b/src/Flipt/Client/FliptClient.php index 4f6b151..b391858 100644 --- a/src/Flipt/Client/FliptClient.php +++ b/src/Flipt/Client/FliptClient.php @@ -23,7 +23,7 @@ final class FliptClient /** * @param array $context */ - public function __construct(string|Client $host, string $namespace = "default", array $context = [], string $entityId = '', AuthenticationStrategy $authentication = null) + public function __construct(string|Client $host, string $namespace = "default", array $context = [], string $entityId = '', ?AuthenticationStrategy $authentication = null) { $this->authentication = $authentication; $this->namespace = $namespace;