Skip to content

Commit

Permalink
[Validator] Fix return types
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Mar 3, 2021
1 parent ae22335 commit 08c3add
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Constraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
*/
Expand Down Expand Up @@ -246,7 +246,7 @@ public function getDefaultOption()
*
* Override this method if you want to define required options.
*
* @return array
* @return string[]
*
* @see __construct()
*/
Expand Down Expand Up @@ -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()
{
Expand Down

0 comments on commit 08c3add

Please sign in to comment.