Skip to content

Commit 20fd949

Browse files
OwlyCodefabpot
authored andcommitted
Fixed undefined ImageValidator:: property when uploading an image during functional tests
1 parent 389897a commit 20fd949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/FileValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function validate($value, Constraint $constraint)
160160
$this->context->addViolation($constraint->maxSizeMessage, array(
161161
'{{ size }}' => $sizeAsString,
162162
'{{ limit }}' => $limitAsString,
163-
'{{ suffix }}' => static::$suffices[$coef],
163+
'{{ suffix }}' => self::$suffices[$coef],
164164
'{{ file }}' => $path,
165165
));
166166

0 commit comments

Comments
 (0)