Fix #20247: Support for variadic console controller action methods

This commit is contained in:
Brandon Kelly
2024-08-19 01:30:57 -04:00
committed by GitHub
parent 34d2396920
commit 5abe83e323
4 changed files with 32 additions and 8 deletions

View File

@ -104,4 +104,9 @@ class FakeController extends Controller
$response->exitStatus = (int) $status;
return $response;
}
public function actionVariadic($foo, $bar, ...$baz)
{
return [$foo, $bar, $baz];
}
}