Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jul 10, 2022
1 parent 4562570 commit 1e13360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/framework/src/Models/NavItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ public static function toLink(string $href, string $title, int $priority = 500):
{
return (new self(null, $title, $priority, false))->setDestination($href);
}

/**
* Create a new navigation menu item leading to a Route model.
*/
public static function toRoute(RouteContract $route, string $title, int $priority = 500): static
{
return (new self($route, $title, $priority, false));
return new self($route, $title, $priority, false);
}

/**
Expand Down

0 comments on commit 1e13360

Please sign in to comment.