diff --git a/Constraint.php b/Constraint.php index 7cd3a68b8..2683c6836 100644 --- a/Constraint.php +++ b/Constraint.php @@ -25,7 +25,7 @@ * * Constraint instances are immutable and serializable. * - * @property array $groups The groups that the constraint belongs to + * @property string[] $groups The groups that the constraint belongs to * * @author Bernhard Schussek */ @@ -246,7 +246,7 @@ public function getDefaultOption() * * Override this method if you want to define required options. * - * @return array + * @return string[] * * @see __construct() */ @@ -276,7 +276,7 @@ public function validatedBy() * This method should return one or more of the constants * Constraint::CLASS_CONSTRAINT and Constraint::PROPERTY_CONSTRAINT. * - * @return string|array One or more constant values + * @return string|string[] One or more constant values */ public function getTargets() {