Update MenuItem.php

This commit is contained in:
Dan Harrin
2024-02-28 11:37:03 +00:00
committed by GitHub
parent 64fc559d7c
commit d2dd625d09
+1 -1
View File
@@ -80,7 +80,7 @@ class MenuItem extends Component
return $this;
}
public function postAction(?string $action): static
public function postAction(string | Closure | null $action): static
{
$this->action = $action;