mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[CS][DX] Refactor (#18444)
This PR has been generated automatically. For more details see [refactor.yaml](/Sylius/Sylius/blob/2.1/.github/workflows/refactor.yaml).
This commit is contained in:
commit
4a089c4a6a
2 changed files with 4 additions and 3 deletions
|
|
@ -27,13 +27,13 @@ final class TaxonParentRelationValidatorTest extends TestCase
|
|||
|
||||
private ExecutionContextInterface|MockObject $context;
|
||||
|
||||
private TaxonInterface|MockObject $taxon;
|
||||
private MockObject|TaxonInterface $taxon;
|
||||
|
||||
private TaxonInterface|MockObject $parent;
|
||||
private MockObject|TaxonInterface $parent;
|
||||
|
||||
private ConstraintViolationBuilderInterface|MockObject $builder;
|
||||
|
||||
private TaxonInterface|MockObject $grandParent;
|
||||
private MockObject|TaxonInterface $grandParent;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ final class TaxonParentRelationValidator extends ConstraintValidator
|
|||
->buildViolation($constraint->message)
|
||||
->atPath('parent')
|
||||
->addViolation();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue