From de0535c98b623092cab59ddb3849a5e9e26b17b3 Mon Sep 17 00:00:00 2001 From: Aurel Demiri <30560661+AurelDemiri@users.noreply.github.com> Date: Fri, 7 Jun 2024 14:44:58 +0200 Subject: [PATCH] fix using nullsafe property access on non-nullable type --- src/Forms/Components/Flatpickr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/Components/Flatpickr.php b/src/Forms/Components/Flatpickr.php index 6edc451..e52f166 100644 --- a/src/Forms/Components/Flatpickr.php +++ b/src/Forms/Components/Flatpickr.php @@ -803,7 +803,7 @@ public function theme(FlatpickrTheme $theme): static public function getTheme(): string { - return $this->theme?->value; + return $this->theme->value; } public function getThemeAsset(): string