From 60be82476bc1c2eaecf7ed5ecc8358f881ed50d7 Mon Sep 17 00:00:00 2001 From: Marius Hoch Date: Tue, 16 Feb 2016 16:57:02 +0100 Subject: [PATCH] Argument #4 for ValueValidators\Error::newError() needs to be an array Bug: T127077 Change-Id: I894d8b1bab4d0cd441b0895c37611a82754889df --- MathValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MathValidator.php b/MathValidator.php index ad3bf2d..343658d 100644 --- a/MathValidator.php +++ b/MathValidator.php @@ -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() ) ) ) ); }