File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed
stubs/Symfony/Component/Validator/Constraints Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ parameters:
9696 - stubs/Symfony/Component/Serializer/Normalizer/NormalizableInterface.stub
9797 - stubs/Symfony/Component/Serializer/Normalizer/NormalizerInterface.stub
9898 - stubs/Symfony/Component/Validator/Constraint.stub
99+ - stubs/Symfony/Component/Validator/Constraints/Composite.stub
100+ - stubs/Symfony/Component/Validator/Constraints/Compound.stub
99101 - stubs/Symfony/Component/Validator/ConstraintViolationInterface.stub
100102 - stubs/Symfony/Component/Validator/ConstraintViolationListInterface.stub
101103 - stubs/Symfony/Contracts/Cache/CacheInterface.stub
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Symfony\Component\Validator\Constraints;
4+
5+ use Symfony\Component\Validator\Constraint;
6+
7+ abstract class Composite extends Constraint
8+ {
9+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Symfony\Component\Validator\Constraints;
4+
5+ use Symfony\Component\Validator\Constraint;
6+
7+ abstract class Compound extends Composite
8+ {
9+ /**
10+ * @param array<mixed> $options
11+ * @return array<Constraint>
12+ */
13+ abstract protected function getConstraints(array $options): array;
14+ }
You can’t perform that action at this time.
0 commit comments