Skip to content

Commit

Permalink
fix using nullsafe property access on non-nullable type
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelDemiri authored Jun 7, 2024
1 parent 3a0af9f commit de0535c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Components/Flatpickr.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de0535c

Please sign in to comment.