Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
datlechin authored and github-actions[bot] committed Dec 26, 2024

Verified

This commit was signed with the committer’s verified signature.
simeonschaub Simeon David Schaub
1 parent a4d09f0 commit d60d0aa
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/FilamentMenuBuilderPlugin.php
Original file line number Diff line number Diff line change
@@ -28,17 +28,17 @@ class FilamentMenuBuilderPlugin implements Plugin

protected array $locations = [];

protected array|Closure $menuFields = [];
protected array | Closure $menuFields = [];

protected array|Closure $menuItemFields = [];
protected array | Closure $menuItemFields = [];

protected string|Closure|null $navigationLabel = null;
protected string | Closure | null $navigationLabel = null;

protected string|Closure|null $navigationGroup = null;
protected string | Closure | null $navigationGroup = null;

protected string|Closure|null $navigationIcon = 'heroicon-o-bars-3';
protected string | Closure | null $navigationIcon = 'heroicon-o-bars-3';

protected int|Closure|null $navigationSort = null;
protected int | Closure | null $navigationSort = null;

protected bool $navigationCountBadge = false;

@@ -153,42 +153,42 @@ public function showCustomTextPanel(bool $show = true): static
return $this;
}

public function addMenuFields(array|Closure $schema): static
public function addMenuFields(array | Closure $schema): static
{
$this->menuFields = $schema;

return $this;
}

public function addMenuItemFields(array|Closure $schema): static
public function addMenuItemFields(array | Closure $schema): static
{
$this->menuItemFields = $schema;

return $this;
}

public function navigationLabel(string|Closure $label = null): static
public function navigationLabel(string | Closure | null $label = null): static
{
$this->navigationLabel = $label;

return $this;
}

public function navigationGroup(string|Closure $group = null): static
public function navigationGroup(string | Closure | null $group = null): static
{
$this->navigationGroup = $group;

return $this;
}

public function navigationIcon(string|Closure $icon): static
public function navigationIcon(string | Closure $icon): static
{
$this->navigationIcon = $icon;

return $this;
}

public function navigationSort(int|Closure $order): static
public function navigationSort(int | Closure $order): static
{
$this->navigationSort = $order;

@@ -247,12 +247,12 @@ public function getLocations(): array
return $this->locations;
}

public function getMenuFields(): array|Closure
public function getMenuFields(): array | Closure
{
return $this->menuFields;
}

public function getMenuItemFields(): array|Closure
public function getMenuItemFields(): array | Closure
{
return $this->menuItemFields;
}

0 comments on commit d60d0aa

Please sign in to comment.