File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function validate($value, Constraint $constraint)
68
68
69
69
if ($ constraint ->minWidth ) {
70
70
if (!ctype_digit ((string ) $ constraint ->minWidth )) {
71
- throw new ConstraintDefinitionException (sprintf ('"%s" is not a valid minimum width ' , $ constraint ->minWidth ));
71
+ throw new ConstraintDefinitionException (sprintf ('"%s" is not a valid minimum width. ' , $ constraint ->minWidth ));
72
72
}
73
73
74
74
if ($ width < $ constraint ->minWidth ) {
@@ -84,7 +84,7 @@ public function validate($value, Constraint $constraint)
84
84
85
85
if ($ constraint ->maxWidth ) {
86
86
if (!ctype_digit ((string ) $ constraint ->maxWidth )) {
87
- throw new ConstraintDefinitionException (sprintf ('"%s" is not a valid maximum width ' , $ constraint ->maxWidth ));
87
+ throw new ConstraintDefinitionException (sprintf ('"%s" is not a valid maximum width. ' , $ constraint ->maxWidth ));
88
88
}
89
89
90
90
if ($ width > $ constraint ->maxWidth ) {
You can’t perform that action at this time.
0 commit comments