Skip to content

Commit 08c3add

Browse files
committed
[Validator] Fix return types
1 parent ae22335 commit 08c3add

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Constraint.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* Constraint instances are immutable and serializable.
2727
*
28-
* @property array $groups The groups that the constraint belongs to
28+
* @property string[] $groups The groups that the constraint belongs to
2929
*
3030
* @author Bernhard Schussek <[email protected]>
3131
*/
@@ -246,7 +246,7 @@ public function getDefaultOption()
246246
*
247247
* Override this method if you want to define required options.
248248
*
249-
* @return array
249+
* @return string[]
250250
*
251251
* @see __construct()
252252
*/
@@ -276,7 +276,7 @@ public function validatedBy()
276276
* This method should return one or more of the constants
277277
* Constraint::CLASS_CONSTRAINT and Constraint::PROPERTY_CONSTRAINT.
278278
*
279-
* @return string|array One or more constant values
279+
* @return string|string[] One or more constant values
280280
*/
281281
public function getTargets()
282282
{

0 commit comments

Comments
 (0)