Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 10, 2024
1 parent af20160 commit 01f3630
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
use Hyde\Facades\Navigation;
use Hyde\Foundation\Application;
use Illuminate\Config\Repository;
use Hyde\Framework\Features\Navigation\NavigationItem;
use Hyde\Framework\Features\Blogging\Models\PostAuthor;
use Hyde\Framework\Exceptions\InvalidConfigurationException;

use function tap;
use function array_merge;

/**
Expand Down Expand Up @@ -84,7 +84,7 @@ protected function parseAuthors(array $authors): array
}

/**
* @param array<array{destination: string, label: ?string, priority: ?int}> $items Where destination is a route key or an external URI.
* @param array<array{destination: string, label: ?string, priority: ?int}> $items Where destination is a route key or an external URI.
* @return array<\Hyde\Framework\Features\Navigation\NavigationItem>
*/
protected function parseNavigationItems(array $items): array
Expand Down

0 comments on commit 01f3630

Please sign in to comment.