Fixed undefined ImageValidator:: property when uploading an image during functional tests
This commit is contained in:
parent
e74d37b864
commit
859f34e1c4
@ -160,7 +160,7 @@ class FileValidator extends ConstraintValidator
|
||||
$this->context->addViolation($constraint->maxSizeMessage, array(
|
||||
'{{ size }}' => $sizeAsString,
|
||||
'{{ limit }}' => $limitAsString,
|
||||
'{{ suffix }}' => static::$suffices[$coef],
|
||||
'{{ suffix }}' => self::$suffices[$coef],
|
||||
'{{ file }}' => $path,
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user