瀏覽代碼

[Validator] fixed phpdoc.

Hugo Hamon 13 年之前
父節點
當前提交
d7c93cacd0
共有 24 個文件被更改,包括 24 次插入24 次删除
  1. 1 1
      src/Symfony/Component/Validator/Constraints/AllValidator.php
  2. 1 1
      src/Symfony/Component/Validator/Constraints/BlankValidator.php
  3. 1 1
      src/Symfony/Component/Validator/Constraints/CallbackValidator.php
  4. 1 1
      src/Symfony/Component/Validator/Constraints/ChoiceValidator.php
  5. 1 1
      src/Symfony/Component/Validator/Constraints/CollectionValidator.php
  6. 1 1
      src/Symfony/Component/Validator/Constraints/CountryValidator.php
  7. 1 1
      src/Symfony/Component/Validator/Constraints/DateValidator.php
  8. 1 1
      src/Symfony/Component/Validator/Constraints/EmailValidator.php
  9. 1 1
      src/Symfony/Component/Validator/Constraints/FalseValidator.php
  10. 1 1
      src/Symfony/Component/Validator/Constraints/FileValidator.php
  11. 1 1
      src/Symfony/Component/Validator/Constraints/IpValidator.php
  12. 1 1
      src/Symfony/Component/Validator/Constraints/LanguageValidator.php
  13. 1 1
      src/Symfony/Component/Validator/Constraints/LocaleValidator.php
  14. 1 1
      src/Symfony/Component/Validator/Constraints/MaxLengthValidator.php
  15. 1 1
      src/Symfony/Component/Validator/Constraints/MinLengthValidator.php
  16. 1 1
      src/Symfony/Component/Validator/Constraints/MinValidator.php
  17. 1 1
      src/Symfony/Component/Validator/Constraints/NotBlankValidator.php
  18. 1 1
      src/Symfony/Component/Validator/Constraints/NotNullValidator.php
  19. 1 1
      src/Symfony/Component/Validator/Constraints/NullValidator.php
  20. 1 1
      src/Symfony/Component/Validator/Constraints/RegexValidator.php
  21. 1 1
      src/Symfony/Component/Validator/Constraints/TimeValidator.php
  22. 1 1
      src/Symfony/Component/Validator/Constraints/TrueValidator.php
  23. 1 1
      src/Symfony/Component/Validator/Constraints/TypeValidator.php
  24. 1 1
      src/Symfony/Component/Validator/Constraints/UrlValidator.php

+ 1 - 1
src/Symfony/Component/Validator/Constraints/AllValidator.php

@@ -24,7 +24,7 @@ class AllValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/BlankValidator.php

@@ -23,7 +23,7 @@ class BlankValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/CallbackValidator.php

@@ -29,7 +29,7 @@ class CallbackValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/ChoiceValidator.php

@@ -31,7 +31,7 @@ class ChoiceValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/CollectionValidator.php

@@ -25,7 +25,7 @@ class CollectionValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/CountryValidator.php

@@ -28,7 +28,7 @@ class CountryValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/DateValidator.php

@@ -26,7 +26,7 @@ class DateValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/EmailValidator.php

@@ -24,7 +24,7 @@ class EmailValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/FalseValidator.php

@@ -23,7 +23,7 @@ class FalseValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/FileValidator.php

@@ -27,7 +27,7 @@ class FileValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/IpValidator.php

@@ -29,7 +29,7 @@ class IpValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/LanguageValidator.php

@@ -28,7 +28,7 @@ class LanguageValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/LocaleValidator.php

@@ -28,7 +28,7 @@ class LocaleValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/MaxLengthValidator.php

@@ -24,7 +24,7 @@ class MaxLengthValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/MinLengthValidator.php

@@ -24,7 +24,7 @@ class MinLengthValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/MinValidator.php

@@ -23,7 +23,7 @@ class MinValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/NotBlankValidator.php

@@ -23,7 +23,7 @@ class NotBlankValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/NotNullValidator.php

@@ -23,7 +23,7 @@ class NotNullValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/NullValidator.php

@@ -23,7 +23,7 @@ class NullValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/RegexValidator.php

@@ -29,7 +29,7 @@ class RegexValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/TimeValidator.php

@@ -26,7 +26,7 @@ class TimeValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/TrueValidator.php

@@ -23,7 +23,7 @@ class TrueValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/TypeValidator.php

@@ -23,7 +23,7 @@ class TypeValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *

+ 1 - 1
src/Symfony/Component/Validator/Constraints/UrlValidator.php

@@ -39,7 +39,7 @@ class UrlValidator extends ConstraintValidator
      * Checks if the passed value is valid.
      *
      * @param mixed      $value      The value that should be validated
-     * @param Constraint $constraint The constrain for the validation
+     * @param Constraint $constraint The constraint for the validation
      *
      * @return Boolean Whether or not the value is valid
      *