@@ -120,7 +120,7 @@ |
||
120 | 120 | public static function findOneBy(RepositoryInterface $repository, string $field): \Closure |
121 | 121 | { |
122 | 122 | return |
123 | - /** @param mixed $previousValue */ |
|
123 | + /** @param string $previousValue */ |
|
124 | 124 | function (Options $options, $previousValue) use ($repository, $field): ?object { |
125 | 125 | if (null === $previousValue || [] === $previousValue) { |
126 | 126 | return $previousValue; |
@@ -20,7 +20,6 @@ |
||
20 | 20 | use Sylius\Component\Core\OrderPaymentStates; |
21 | 21 | use Sylius\Component\Core\OrderShippingStates; |
22 | 22 | use Sylius\Component\Customer\Model\CustomerInterface as BaseCustomerInterface; |
23 | -use Sylius\Component\Order\Model\AdjustmentInterface as BaseAdjustmentInterface; |
|
24 | 23 | use Sylius\Component\Order\Model\Order as BaseOrder; |
25 | 24 | use Sylius\Component\Payment\Model\PaymentInterface as BasePaymentInterface; |
26 | 25 | use Sylius\Component\Promotion\Model\PromotionCouponInterface as BaseCouponInterface; |