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 Nov 9, 2024
1 parent 659e92e commit dd9d581
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/FilamentMenuBuilderPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class FilamentMenuBuilderPlugin implements Plugin

protected array $locations = [];

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

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

/**
* @var MenuPanel[]
Expand Down Expand Up @@ -143,14 +143,14 @@ 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;

Expand Down Expand Up @@ -202,12 +202,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;
}
Expand Down

0 comments on commit dd9d581

Please sign in to comment.