Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh authored and github-actions[bot] committed Nov 19, 2023
1 parent 29e7e0e commit 3b9f77d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/LanguageSwitch.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function circular(bool $condition = true): static
return $this;
}

public function displayLocale(string | null $locale = null): static
public function displayLocale(string $locale = null): static
{
$this->displayLocale = $locale ?? app()->getLocale();

Expand Down Expand Up @@ -255,8 +255,8 @@ public function getFlag(string $locale): string
public function getLabel(string $locale): string
{
return $this->labels[$locale] ?? str(locale_get_display_name($locale, $this->getDisplayLocale()))
->title()
->toString();
->title()
->toString();
}

public function isCurrentPanelIncluded(): bool
Expand Down

0 comments on commit 3b9f77d

Please sign in to comment.