Skip to content

Commit 034f2df

Browse files
committed
Changed visibility of trigger property
so it will get cached by the Symfony cache component.
1 parent 32c3004 commit 034f2df

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
@@ -14,7 +14,7 @@ class Cascade extends Constraint
1414
/**
1515
* @var array Which validation groups to trigger in any child objects
1616
*/
17-
private array $trigger = [Constraint::DEFAULT_GROUP];
17+
protected array $trigger = [Constraint::DEFAULT_GROUP];
1818

1919
/**
2020
* @param array|null $options

0 commit comments

Comments
 (0)