Skip to content

Commit 8241a42

Browse files
committed
chore: Add recursionDepth constructor arg
1 parent e033388 commit 8241a42

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Filter/Filter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class Filter
99
public function __construct(
1010
private readonly FilterRegistry $filterRegistry,
1111
private readonly FilterScopeFactory $filterScopeFactory,
12+
private readonly int $recursionDepth = 10
1213
) {
1314
}
1415

Validator/Validator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class Validator
1010
{
1111
public function __construct(
1212
private readonly ValidatorRegistry $validatorRegistry,
13+
private readonly int $recursionDepth = 10
1314
) {
1415
}
1516

0 commit comments

Comments
 (0)