Skip to content

Commit

Permalink
Merge pull request #6 from koffinate/master
Browse files Browse the repository at this point in the history
fix helper return
  • Loading branch information
yusronarif authored Sep 1, 2024
2 parents 10003ac + 6137984 commit 329658b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @return \Kfn\Menu\Contracts\GroupedMenu
*/
function menus(string|null $name = null)
function menus(string|null $name = null): \Kfn\Menu\Contracts\GroupedMenu
{
return new \Kfn\Menu\Factory(name: $name);
}
Expand Down

0 comments on commit 329658b

Please sign in to comment.