Completed
Push — master ( 99b9b3...0bcb3b )
by Kamil
18:37
created
src/Sylius/Behat/Context/Setup/OrderContext.php 1 patch
Unused Use Statements   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,31 +14,31 @@
 block discarded – undo
14 14
 use Behat\Behat\Context\Context;
15 15
 use Doctrine\Common\Persistence\ObjectManager;
16 16
 use SM\Factory\FactoryInterface as StateMachineFactoryInterface;
17
+use Sylius\Behat\Service\SharedStorageInterface;
17 18
 use Sylius\Component\Core\Currency\CurrencyStorageInterface;
19
+use Sylius\Component\Core\Model\AddressInterface;
18 20
 use Sylius\Component\Core\Model\ChannelInterface;
19 21
 use Sylius\Component\Core\Model\ChannelPricingInterface;
20
-use Sylius\Component\Core\Model\PromotionCouponInterface;
21
-use Sylius\Component\Core\OrderCheckoutTransitions;
22
-use Sylius\Component\Order\Processor\OrderProcessorInterface;
23
-use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
24
-use Sylius\Component\Core\Model\AddressInterface;
25 22
 use Sylius\Component\Core\Model\OrderInterface;
26 23
 use Sylius\Component\Core\Model\OrderItemInterface;
27 24
 use Sylius\Component\Core\Model\ProductInterface;
28 25
 use Sylius\Component\Core\Model\ProductVariantInterface;
26
+use Sylius\Component\Core\Model\PromotionCouponInterface;
29 27
 use Sylius\Component\Core\Model\ShippingMethodInterface;
28
+use Sylius\Component\Core\OrderCheckoutTransitions;
30 29
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
31
-use Sylius\Behat\Service\SharedStorageInterface;
30
+use Sylius\Component\Customer\Model\CustomerInterface;
31
+use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
32 32
 use Sylius\Component\Order\OrderTransitions;
33
+use Sylius\Component\Order\Processor\OrderProcessorInterface;
33 34
 use Sylius\Component\Payment\Model\PaymentInterface;
34 35
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
35 36
 use Sylius\Component\Payment\PaymentTransitions;
37
+use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
36 38
 use Sylius\Component\Resource\Factory\FactoryInterface;
37 39
 use Sylius\Component\Resource\Repository\RepositoryInterface;
38 40
 use Sylius\Component\Shipping\ShipmentTransitions;
39
-use Sylius\Component\Customer\Model\CustomerInterface;
40 41
 use Sylius\Component\User\Model\UserInterface;
41
-use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
42 42
 
43 43
 /**
44 44
  * @author Łukasz Chruściel <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Payment/Provider/OrderPaymentProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      * @param PaymentInterface $payment
107 107
      * @param OrderInterface $order
108 108
      *
109
-     * @return PaymentMethodInterface|null
109
+     * @return \Sylius\Component\Payment\Model\PaymentMethodInterface|null
110 110
      */
111 111
     private function getDefaultPaymentMethod(PaymentInterface $payment, OrderInterface $order)
112 112
     {
Please login to merge, or discard this patch.