Completed
Push — locale-in-url ( 6d9eda )
by Kamil
23:08
created
src/Sylius/Component/Core/Model/PromotionCouponInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param int|null $perCustomerUsageLimit
28
+     * @return void
28 29
      */
29 30
     public function setPerCustomerUsageLimit($perCustomerUsageLimit);
30 31
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ShippingMethodInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -29,11 +29,13 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param ZoneInterface|null $zone
32
+     * @return void
32 33
      */
33 34
     public function setZone(ZoneInterface $zone = null);
34 35
 
35 36
     /**
36 37
      * @param TaxCategoryInterface|null $category
38
+     * @return void
37 39
      */
38 40
     public function setTaxCategory(TaxCategoryInterface $category = null);
39 41
 }
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 use Sylius\Component\Addressing\Model\ZoneInterface;
15 15
 use Sylius\Component\Channel\Model\ChannelsAwareInterface;
16 16
 use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface;
17
-use Sylius\Component\Taxation\Model\TaxableInterface;
18 17
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
18
+use Sylius\Component\Taxation\Model\TaxableInterface;
19 19
 
20 20
 /**
21 21
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/TaxonInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -45,11 +45,13 @@
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param ImageInterface $image
48
+     * @return void
48 49
      */
49 50
     public function removeImage(ImageInterface $image);
50 51
 
51 52
     /**
52 53
      * @param ImageInterface $image
54
+     * @return void
53 55
      */
54 56
     public function addImage(ImageInterface $image);
55 57
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/TaxRateInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param ZoneInterface|null $zone
29
+     * @return void
29 30
      */
30 31
     public function setZone(ZoneInterface $zone = null);
31 32
 }
Please login to merge, or discard this patch.
Component/Core/Promotion/Checker/Rule/TotalOfItemsFromTaxonRuleChecker.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Sylius\Component\Core\Model\OrderItemInterface;
17 17
 use Sylius\Component\Promotion\Checker\Rule\RuleCheckerInterface;
18 18
 use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
19
-use Sylius\Component\Resource\Exception\UnexpectedTypeException;
20 19
 use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface;
21 20
 use Webmozart\Assert\Assert;
22 21
 
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
@@ -20,11 +20,13 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param OrderInterface $order
23
+     * @return void
23 24
      */
24 25
     public function increment(OrderInterface $order);
25 26
 
26 27
     /**
27 28
      * @param OrderInterface $order
29
+     * @return void
28 30
      */
29 31
     public function decrement(OrderInterface $order);
30 32
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Resolver/DefaultShippingMethodResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Resolver;
13 13
 
14 14
 use Sylius\Component\Core\Model\ChannelInterface;
15
+use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
15 16
 use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
16 17
 use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException;
17 18
 use Sylius\Component\Shipping\Model\ShipmentInterface;
18
-use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
19 19
 use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface;
20 20
 use Webmozart\Assert\Assert;
21 21
 
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
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param OrderInterface $order
23
+     * @return void
23 24
      */
24 25
     public function assignTokenValue(OrderInterface $order);
25 26
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Updater/UnpaidOrdersStateUpdaterInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,5 +16,8 @@
 block discarded – undo
16 16
  */
17 17
 interface UnpaidOrdersStateUpdaterInterface
18 18
 {
19
+    /**
20
+     * @return void
21
+     */
19 22
     public function cancel();
20 23
 }
Please login to merge, or discard this patch.