Completed
Push — 1.7 ( 0983e5...497e44 )
by Kamil
05:26
created
src/Sylius/Behat/Service/Setter/CookieSetterInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * @param string $name
21 21
      * @param string $value
22
+     * @return void
22 23
      */
23 24
     public function setCookie($name, $value);
24 25
 }
Please login to merge, or discard this patch.
spec/Validator/Constraints/ProvinceAddressConstraintValidatorSpec.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -151,6 +151,9 @@
 block discarded – undo
151 151
         $this->validate($address, $constraint);
152 152
     }
153 153
 
154
+    /**
155
+     * @param string $propertyPath
156
+     */
154 157
     private function createViolation($propertyPath)
155 158
     {
156 159
         return new ConstraintViolation('message', 'template', [], 'root', $propertyPath, 'invalidValue');
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Mocker/MockerInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -35,8 +35,12 @@
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param string $serviceId
38
+     * @return void
38 39
      */
39 40
     public function unmockService($serviceId);
40 41
 
42
+    /**
43
+     * @return void
44
+     */
41 45
     public function unmockAll();
42 46
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/CheckoutContext.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -130,6 +130,8 @@
 block discarded – undo
130 130
     /**
131 131
      * @Given I have proceeded order with :shippingMethodName shipping method and :paymentMethodName payment
132 132
      * @When I proceed with :shippingMethodName shipping method and :paymentMethodName payment
133
+     * @param string $shippingMethodName
134
+     * @param string $paymentMethodName
133 135
      */
134 136
     public function iProceedOrderWithShippingMethodAndPayment($shippingMethodName, $paymentMethodName)
135 137
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionTranslationInterface.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 $name
30
+     * @return void
30 31
      */
31 32
     public function setName(?string $name): void;
32 33
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Collector/SyliusCollector.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 namespace Sylius\Bundle\CoreBundle\Collector;
15 15
 
16 16
 use Sylius\Bundle\CoreBundle\Application\Kernel;
17
-use Sylius\Component\Channel\Context\ChannelNotFoundException;
18 17
 use Sylius\Component\Core\Context\ShopperContextInterface;
19 18
 use Sylius\Component\Core\Model\ChannelInterface;
20 19
 use Sylius\Component\Currency\Context\CurrencyNotFoundException;
Please login to merge, or discard this patch.
src/Sylius/Bundle/PayumBundle/Request/ResolveNextRouteInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -6,11 +6,20 @@
 block discarded – undo
6 6
 
7 7
 interface ResolveNextRouteInterface
8 8
 {
9
+    /**
10
+     * @return string
11
+     */
9 12
     public function getRouteName(): ?string;
10 13
 
14
+    /**
15
+     * @return void
16
+     */
11 17
     public function setRouteName(string $routeName): void;
12 18
 
13 19
     public function getRouteParameters(): array;
14 20
 
21
+    /**
22
+     * @return void
23
+     */
15 24
     public function setRouteParameters(array $parameters): void;
16 25
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/Updater/ReviewableRatingUpdaterInterface.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 namespace Sylius\Bundle\ReviewBundle\Updater;
15 15
 
16
-use Sylius\Component\Review\Model\ReviewableInterface;
17 16
 use Sylius\Component\Review\Model\ReviewInterface;
17
+use Sylius\Component\Review\Model\ReviewableInterface;
18 18
 
19 19
 interface ReviewableRatingUpdaterInterface
20 20
 {
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,7 +18,13 @@
 block discarded – undo
18 18
 
19 19
 interface ReviewableRatingUpdaterInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function update(ReviewableInterface $reviewSubject): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function updateFromReview(ReviewInterface $review): void;
24 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariantInterface.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 use Sylius\Component\Resource\Model\VersionedInterface;
20 20
 use Sylius\Component\Shipping\Model\ShippableInterface;
21 21
 use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
22
-use Sylius\Component\Taxation\Model\TaxableInterface;
23 22
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
23
+use Sylius\Component\Taxation\Model\TaxableInterface;
24 24
 
25 25
 interface ProductVariantInterface extends
26 26
     BaseVariantInterface,
Please login to merge, or discard this patch.
Doc Comments   +51 added lines patch added patch discarded remove patch
@@ -30,24 +30,66 @@  discard block
 block discarded – undo
30 30
     VersionedInterface,
31 31
     ProductImagesAwareInterface
32 32
 {
33
+    /**
34
+     * @return double
35
+     */
33 36
     public function getWeight(): ?float;
34 37
 
38
+    /**
39
+     * @param double $weight
40
+     *
41
+     * @return void
42
+     */
35 43
     public function setWeight(?float $weight): void;
36 44
 
45
+    /**
46
+     * @return double
47
+     */
37 48
     public function getWidth(): ?float;
38 49
 
50
+    /**
51
+     * @param double $width
52
+     *
53
+     * @return void
54
+     */
39 55
     public function setWidth(?float $width): void;
40 56
 
57
+    /**
58
+     * @return double
59
+     */
41 60
     public function getHeight(): ?float;
42 61
 
62
+    /**
63
+     * @param double $height
64
+     *
65
+     * @return void
66
+     */
43 67
     public function setHeight(?float $height): void;
44 68
 
69
+    /**
70
+     * @return double
71
+     */
45 72
     public function getDepth(): ?float;
46 73
 
74
+    /**
75
+     * @param double $depth
76
+     *
77
+     * @return void
78
+     */
47 79
     public function setDepth(?float $depth): void;
48 80
 
81
+    /**
82
+     * @param TaxCategoryInterface $category
83
+     *
84
+     * @return void
85
+     */
49 86
     public function setTaxCategory(?TaxCategoryInterface $category): void;
50 87
 
88
+    /**
89
+     * @param ShippingCategoryInterface $shippingCategory
90
+     *
91
+     * @return void
92
+     */
51 93
     public function setShippingCategory(?ShippingCategoryInterface $shippingCategory): void;
52 94
 
53 95
     /**
@@ -61,11 +103,20 @@  discard block
 block discarded – undo
61 103
 
62 104
     public function hasChannelPricing(ChannelPricingInterface $channelPricing): bool;
63 105
 
106
+    /**
107
+     * @return void
108
+     */
64 109
     public function addChannelPricing(ChannelPricingInterface $channelPricing): void;
65 110
 
111
+    /**
112
+     * @return void
113
+     */
66 114
     public function removeChannelPricing(ChannelPricingInterface $channelPricing): void;
67 115
 
68 116
     public function isShippingRequired(): bool;
69 117
 
118
+    /**
119
+     * @return void
120
+     */
70 121
     public function setShippingRequired(bool $shippingRequired): void;
71 122
 }
Please login to merge, or discard this patch.