Restore func_get_args in HTMLFormField
Mocking variadic arguments does not work in hhvm Follow-Up: I066ec95a7beb7c0665146195a08e7cce1222c788 Change-Id: Ic3b689d003a4659abdc4c9344ffd83f24f448912
This commit is contained in:
parent
b8ec4a8ff8
commit
cb897cbad4
1 changed files with 3 additions and 1 deletions
|
|
@ -77,7 +77,9 @@ abstract class HTMLFormField {
|
|||
*
|
||||
* @return Message
|
||||
*/
|
||||
public function msg( ...$args ) {
|
||||
public function msg() {
|
||||
$args = func_get_args();
|
||||
|
||||
if ( $this->mParent ) {
|
||||
return $this->mParent->msg( ...$args );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue