Completed
Push — to-be-a-hat-or-not-to-be-kuhwa ( 7c7f7b...b72886 )
by Kamil
20:35
created
src/Sylius/Component/Core/OrderProcessing/OrderPaymentProcessor.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     /**
100 100
      * @param OrderInterface $order
101 101
      *
102
-     * @return bool|PaymentInterface
102
+     * @return PaymentInterface|null
103 103
      */
104 104
     private function getLastPayment(OrderInterface $order)
105 105
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\OrderProcessing;
13 13
 
14 14
 use Sylius\Component\Core\Model\OrderInterface;
15
-use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface;
16 15
 use Sylius\Component\Core\Model\PaymentInterface;
16
+use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface;
17 17
 use Sylius\Component\Order\Processor\OrderProcessorInterface;
18 18
 use Sylius\Component\Payment\Exception\UnresolvedDefaultPaymentMethodException;
19 19
 use Sylius\Component\Payment\Factory\PaymentFactoryInterface;
Please login to merge, or discard this patch.
Component/Core/Promotion/Modifier/OrderPromotionsUsageModifierInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Repository/OrderRepositoryInterface.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 use Doctrine\ORM\QueryBuilder;
15 15
 use Pagerfanta\PagerfantaInterface;
16 16
 use Sylius\Component\Core\Model\ChannelInterface;
17
-use Sylius\Component\Core\Model\PromotionCouponInterface;
18 17
 use Sylius\Component\Core\Model\CustomerInterface;
19 18
 use Sylius\Component\Core\Model\OrderInterface;
19
+use Sylius\Component\Core\Model\PromotionCouponInterface;
20 20
 use Sylius\Component\Order\Repository\OrderRepositoryInterface as BaseOrderRepositoryInterface;
21 21
 
22 22
 interface OrderRepositoryInterface extends BaseOrderRepositoryInterface
Please login to merge, or discard this patch.
Core/spec/Resolver/ZoneAndChannelBasedShippingMethodsResolverSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
 use Sylius\Component\Core\Model\OrderInterface;
20 20
 use Sylius\Component\Core\Model\ShipmentInterface;
21 21
 use Sylius\Component\Core\Model\ShippingMethodInterface;
22
+use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
22 23
 use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver;
23 24
 use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface;
24 25
 use Sylius\Component\Shipping\Model\ShippingSubjectInterface;
25
-use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
26 26
 use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
27 27
 
28 28
 /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/StateResolver/OrderShippingStateResolver.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 
14 14
 use SM\Factory\FactoryInterface;
15 15
 use SM\StateMachine\StateMachineInterface;
16
-use Sylius\Component\Order\Model\OrderInterface;
17
-use Sylius\Component\Order\StateResolver\StateResolverInterface;
18 16
 use Sylius\Component\Core\Model\ShipmentInterface;
19 17
 use Sylius\Component\Core\OrderShippingStates;
20 18
 use Sylius\Component\Core\OrderShippingTransitions;
19
+use Sylius\Component\Order\Model\OrderInterface;
20
+use Sylius\Component\Order\StateResolver\StateResolverInterface;
21 21
 
22 22
 /**
23 23
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Sylius/Component/Core/Test/Services/DefaultUnitedStatesChannelFactory.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -181,6 +181,8 @@
 block discarded – undo
181 181
     }
182 182
 
183 183
     /**
184
+     * @param string $code
185
+     * @param string $name
184 186
      * @return ChannelInterface
185 187
      */
186 188
     private function createChannel($code, $name)
Please login to merge, or discard this patch.
src/Sylius/Component/Core/TokenAssigner/OrderTokenAssignerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Updater/OrderUpdaterInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Currency/Model/CurrenciesAwareInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.