Completed
Push — 1.7 ( 0983e5...497e44 )
by Kamil
05:26
created
src/Sylius/Component/Core/Model/Customer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         return $this->defaultAddress;
63 63
     }
64 64
 
65
+    /**
66
+     * @param AddressInterface $defaultAddress
67
+     */
65 68
     public function setDefaultAddress(?AddressInterface $defaultAddress): void
66 69
     {
67 70
         $this->defaultAddress = $defaultAddress;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariant.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@  discard block
 block discarded – undo
112 112
         return $this->onHold;
113 113
     }
114 114
 
115
+    /**
116
+     * @param integer $onHold
117
+     */
115 118
     public function setOnHold(?int $onHold): void
116 119
     {
117 120
         $this->onHold = $onHold;
@@ -122,6 +125,9 @@  discard block
 block discarded – undo
122 125
         return $this->onHand;
123 126
     }
124 127
 
128
+    /**
129
+     * @param integer $onHand
130
+     */
125 131
     public function setOnHand(?int $onHand): void
126 132
     {
127 133
         $this->onHand = (0 > $onHand) ? 0 : $onHand;
Please login to merge, or discard this patch.
src/Sylius/Component/Currency/Model/Currency.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         return $this->code;
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $code
56
+     */
54 57
     public function setCode(?string $code): void
55 58
     {
56 59
         $this->code = $code;
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentMethodInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -29,25 +29,49 @@
 block discarded – undo
29 29
 {
30 30
     public function getName(): ?string;
31 31
 
32
+    /**
33
+     * @return void
34
+     */
32 35
     public function setName(?string $name): void;
33 36
 
34 37
     public function getDescription(): ?string;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function setDescription(?string $description): void;
37 43
 
38 44
     public function getInstructions(): ?string;
39 45
 
46
+    /**
47
+     * @return void
48
+     */
40 49
     public function setInstructions(?string $instructions): void;
41 50
 
51
+    /**
52
+     * @return string
53
+     */
42 54
     public function getEnvironment(): ?string;
43 55
 
56
+    /**
57
+     * @return void
58
+     */
44 59
     public function setEnvironment(?string $environment): void;
45 60
 
61
+    /**
62
+     * @return integer
63
+     */
46 64
     public function getPosition(): ?int;
47 65
 
66
+    /**
67
+     * @param integer $position
68
+     *
69
+     * @return void
70
+     */
48 71
     public function setPosition(?int $position): void;
49 72
 
50 73
     /**
74
+     * @param string $locale
51 75
      * @return PaymentMethodTranslationInterface
52 76
      */
53 77
     public function getTranslation(?string $locale = null): TranslationInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/Taxon.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         return $this->code;
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $code
56
+     */
54 57
     public function setCode(?string $code): void
55 58
     {
56 59
         $this->code = $code;
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductVariant.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         return $this->code;
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $code
56
+     */
54 57
     public function setCode(?string $code): void
55 58
     {
56 59
         $this->code = $code;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/Form/Type/ReviewType.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 
16 16
 use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
17 17
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
18
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
19 18
 use Symfony\Component\Form\Extension\Core\Type\TextType;
19
+use Symfony\Component\Form\Extension\Core\Type\TextareaType;
20 20
 use Symfony\Component\Form\FormBuilderInterface;
21 21
 use Symfony\Component\OptionsResolver\OptionsResolver;
22 22
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -128,6 +128,8 @@
 block discarded – undo
128 128
     /**
129 129
      * @When /^I set its(?:| default) price to "(?:€|£|\$)([^"]+)" for "([^"]+)" channel$/
130 130
      * @When I do not set its price
131
+     * @param string $price
132
+     * @param string $channelName
131 133
      */
132 134
     public function iSetItsPriceTo(?string $price = null, $channelName = null)
133 135
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      */
140 140
     public function iRemoveItsPriceForChannel(string $channelName): void
141 141
     {
142
-        $this->iSetItsPriceTo('',  $channelName);
142
+        $this->iSetItsPriceTo('', $channelName);
143 143
     }
144 144
 
145 145
     /**
Please login to merge, or discard this patch.