Skip to content

Commit

Permalink
Add mixed as the invokable action's return type
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jan 20, 2023
1 parent b1105c1 commit 14560d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ abstract class InvokableAction
{
abstract public function __invoke();

public static function call(...$args)
public static function call(...$args): mixed
{
return (new static(...$args))->__invoke();
}
Expand Down

0 comments on commit 14560d2

Please sign in to comment.