Parcourir la source

Fix empty error bug.

Romain Geissler il y a 13 ans
Parent
commit
ffbedba2da
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Validator/InlineValidator.php

+ 1 - 1
Validator/InlineValidator.php

@@ -56,6 +56,6 @@ class InlineValidator extends ConstraintValidator
 
         call_user_func($function, $errorElement, $value);
 
-        return count($this->context->getViolations()) == 0;
+        return true;
     }
 }