mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update MenuItem.php
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user