[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:
Rafał Jaskulski 2025-10-17 08:59:46 +02:00 committed by GitHub
commit 4a089c4a6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -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
{

View file

@ -60,6 +60,7 @@ final class TaxonParentRelationValidator extends ConstraintValidator
->buildViolation($constraint->message)
->atPath('parent')
->addViolation();
return;
}