Argument #4 for ValueValidators\Error::newError() needs to be an array

Bug: T127077
Change-Id: I894d8b1bab4d0cd441b0895c37611a82754889df
This commit is contained in:
Marius Hoch 2016-02-16 16:57:02 +01:00
parent aa1af7a207
commit 60be82476b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class MathValidator implements ValueValidator {
// TeX string is not valid
return Result::newError(
array(
Error::newError( null, null, 'malformed-value', $checker->getError() )
Error::newError( null, null, 'malformed-value', array( $checker->getError() ) )
)
);
}