diff --git a/src/Concerns/HandlesOverlookWidgetCustomization.php b/src/Concerns/HandlesOverlookWidgetCustomization.php index ba3fa37..20ce769 100644 --- a/src/Concerns/HandlesOverlookWidgetCustomization.php +++ b/src/Concerns/HandlesOverlookWidgetCustomization.php @@ -1,7 +1,5 @@ shouldSortAlphabetical = $condition; return $this; } - public function abbreviateCount(bool|Closure|null $condition = true): static + public function abbreviateCount(bool | Closure | null $condition = true): static { $this->shouldAbbreviateCount = $condition; return $this; } - public function excludes(array|Closure $resources): static + public function excludes(array | Closure $resources): static { $this->excludes = $resources; @@ -101,7 +99,7 @@ public function getSort(): int return $this->evaluate($this->sort) ?? -1; } - public function includes(array|Closure $resources): static + public function includes(array | Closure $resources): static { $this->includes = $resources; @@ -123,21 +121,21 @@ public function shouldSortAlphabetical(): bool return $this->evaluate($this->shouldSortAlphabetical) ?? false; } - public function sort(int|Closure $sort): static + public function sort(int | Closure $sort): static { $this->sort = $sort; return $this; } - public function tooltips(bool|Closure|null $condition = true): static + public function tooltips(bool | Closure | null $condition = true): static { $this->shouldShowTooltips = $condition; return $this; } - public function icons(array|Closure|null $icons): static + public function icons(array | Closure | null $icons): static { $this->icons = $icons; diff --git a/src/OverlookServiceProvider.php b/src/OverlookServiceProvider.php index 62d4043..8f3a11f 100644 --- a/src/OverlookServiceProvider.php +++ b/src/OverlookServiceProvider.php @@ -1,14 +1,12 @@