Kaynağa Gözat

Merge pull request #867 from Romain-Geissler/fix-empty-error-bug

Fix empty error bug.
Thomas 13 yıl önce
ebeveyn
işleme
5c81e3d477
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;
     }
 }