Skip to content

Commit 0ea9e4d

Browse files
committed
Make Cascade attribute repeatable
1 parent 9f74838 commit 0ea9e4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cascade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Symfony\Component\Validator\Constraint;
66

7-
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD)]
7+
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
88
class Cascade extends Constraint
99
{
1010
public function __construct(

0 commit comments

Comments
 (0)