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 Apr 1, 2024
1 parent cea369d commit 1d657b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LanguageSwitch.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function circular(bool $condition = true): static
return $this;
}

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

Expand All @@ -98,7 +98,7 @@ public function nativeLabel(bool $condition = true): static
return $this;
}

public function outsidePanelRoutes(array | Closure $routes = null): static
public function outsidePanelRoutes(array | Closure | null $routes = null): static
{
$this->outsidePanelRoutes = $routes ?? [
'auth.login',
Expand Down

0 comments on commit 1d657b3

Please sign in to comment.