wip: age based filtering of options
This commit is contained in:
@@ -19,7 +19,7 @@ class AgeConstraintResult
|
||||
public readonly ?int $birthYearFrom = null,
|
||||
public readonly ?int $birthYearTo = null,
|
||||
public readonly array $metadata = [],
|
||||
public readonly ?string $rawData = null
|
||||
public readonly ?string $rawData = null,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -37,4 +37,4 @@ class AgeConstraintResult
|
||||
{
|
||||
return false === $this->hasAgeConstraints() && false === $this->hasBirthYearConstraints();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user