Skip to content

Commit

Permalink
missing helper param
Browse files Browse the repository at this point in the history
  • Loading branch information
yusronarif committed Nov 4, 2022
1 parent dc4251e commit 44ce67d
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 @@ -24,7 +24,7 @@ function menus(?string $menu = null, ?string $group = null): Menu
*
* @return ?MenuType
*/
function menuType(?string $type): ?MenuType
function menuType(?string $type = null): ?MenuType
{
if ($type) {
MenuType::tryFrom($type);
Expand Down

0 comments on commit 44ce67d

Please sign in to comment.