From 40fc4d1280cc566622f3edb5cdd20ffafca459a3 Mon Sep 17 00:00:00 2001 From: Dennis Elsinga Date: Fri, 2 Feb 2024 15:28:02 +0100 Subject: [PATCH 1/2] Make `customKey()` nullable --- src/SelectTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SelectTree.php b/src/SelectTree.php index 5418f54..26ab6a9 100644 --- a/src/SelectTree.php +++ b/src/SelectTree.php @@ -37,7 +37,7 @@ class SelectTree extends Field implements HasAffixActions protected bool $independent = true; - protected string $customKey = null; + protected string|null $customKey = null; protected string $titleAttribute; From 275f1c25bdcd9ea6158e7b2c06273b73c9999281 Mon Sep 17 00:00:00 2001 From: CodeWithDennis Date: Fri, 2 Feb 2024 14:28:28 +0000 Subject: [PATCH 2/2] Fix styling --- src/SelectTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SelectTree.php b/src/SelectTree.php index 26ab6a9..a9828ce 100644 --- a/src/SelectTree.php +++ b/src/SelectTree.php @@ -37,7 +37,7 @@ class SelectTree extends Field implements HasAffixActions protected bool $independent = true; - protected string|null $customKey = null; + protected ?string $customKey = null; protected string $titleAttribute;