Skip to content

Commit

Permalink
missing helper params
Browse files Browse the repository at this point in the history
  • Loading branch information
yusronarif committed Mar 28, 2023
1 parent 85ae849 commit c036282
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
/**
* Menu instance.
*
* @param ?string $name
* @param ?string $group
* @param ?string $name
* @param ?string $group
* @param array $groupAttribute
*
* @return \Koffin\Menu\Contracts\Menu
*/
function menus(?string $name = null, ?string $group = null): \Koffin\Menu\Contracts\Menu
function menus(?string $name = null, ?string $group = null, array $groupAttribute = []): \Koffin\Menu\Contracts\Menu
{
return new \Koffin\Menu\Factory(name: $name, group: $group);
}
Expand Down

0 comments on commit c036282

Please sign in to comment.