Use splat operator in signature, not func_get_args
authorMichael Große <michael.grosse@wikimedia.de>
Mon, 11 Mar 2019 18:10:54 +0000 (19:10 +0100)
committerReedy <reedy@wikimedia.org>
Fri, 18 Oct 2019 20:35:31 +0000 (21:35 +0100)
commit13d176d840f85a58dd1411621c0af93a3877bfa7
treea53ef6394a4dbe8e2af60023519600d6b2e95037
parentfe7a8d9adff4682e9c89396504010c15c94909b0
Use splat operator in signature, not func_get_args

Most of the original scope of this patch was implemented in 8665536045c

What remains is to use the splat operator in the method signature as
well which is more readable than using func_get_args and doesn't annoy
phan. This is now possible, because we are no longer testing on HHVM and
these mocking in HHVM tests was the only place where this was broken.

Change-Id: I52912d1810b955b05cd17fab424f80c201883411
includes/htmlform/HTMLForm.php