Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot authored and caendesilva committed Jul 11, 2024
1 parent b5cc7ed commit 1029dc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/framework/src/Facades/Navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Hyde\Facades;

use Hyde\Framework\Features\Navigation\NavigationMenuConfigurationBuilder;

use function compact;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class NavigationMenuConfigurationBuilder extends ArrayObject implements Arrayabl
/**
* Set the order of the navigation items.
*
* @param array<string, int>|array<string> $order
* @param array<string, int>|array<string> $order
* @return $this
*/
public function order(array $order): static
Expand All @@ -32,7 +32,7 @@ public function order(array $order): static
/**
* Set the labels for the navigation items.
*
* @param array<string, string> $labels
* @param array<string, string> $labels
* @return $this
*/
public function labels(array $labels): static
Expand All @@ -45,7 +45,7 @@ public function labels(array $labels): static
/**
* Exclude certain items from the navigation.
*
* @param array<string> $exclude
* @param array<string> $exclude
* @return $this
*/
public function exclude(array $exclude): static
Expand All @@ -58,7 +58,7 @@ public function exclude(array $exclude): static
/**
* Add custom items to the navigation.
*
* @param array<array{destination: string, label: ?string, priority: ?int, attributes: array<string, scalar>}> $custom
* @param array<array{destination: string, label: ?string, priority: ?int, attributes: array<string, scalar>}> $custom
* @return $this
*/
public function custom(array $custom): static
Expand All @@ -71,7 +71,7 @@ public function custom(array $custom): static
/**
* Set the display mode for subdirectories.
*
* @param 'dropdown'|'flat'|'hidden' $displayMode
* @param 'dropdown'|'flat'|'hidden' $displayMode
* @return $this
*/
public function subdirectoryDisplay(string $displayMode): static
Expand Down

0 comments on commit 1029dc1

Please sign in to comment.