[CS][DX] Refactor

This commit is contained in:
Sylius Bot 2025-11-26 02:34:56 +00:00 committed by GitHub
parent 78ab2121ec
commit a4d17db879
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,9 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface;
final class OrderProductEligibilityValidatorTest extends TestCase
{
private MockObject|OrderRepositoryInterface $orderRepository;
private MockObject|ExecutionContextInterface $context;
private ExecutionContextInterface|MockObject $context;
private OrderProductEligibilityValidator $validator;
protected function setUp(): void

View file

@ -14,7 +14,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Validator\Constraints;
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
use Sylius\Component\Core\Model\ChannelInterface;
use Sylius\Component\Core\Model\OrderInterface;
use Sylius\Component\Core\Model\OrderItemInterface;
use Sylius\Component\Core\Repository\OrderRepositoryInterface;

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\CoreBundle\Validator\Constraints;
use Sylius\Component\Core\Model\ChannelInterface;
use Sylius\Component\Core\Model\OrderInterface;
use Sylius\Component\Core\Model\OrderItemInterface;
use Symfony\Component\Validator\Constraint;