Skip to content

Commit

Permalink
fix named parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed Sep 13, 2024
1 parent 4f34208 commit ad79e32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Shared/AsAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

trait AsAction
{
public function __invoke()
public function __invoke(...$parameters)
{
return $this->handle(...func_get_args());
return $this->handle(...$parameters);
}
}

0 comments on commit ad79e32

Please sign in to comment.