@@ -62,6 +62,9 @@ |
||
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; |
@@ -112,6 +112,9 @@ discard block |
||
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 |
||
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; |
@@ -51,6 +51,9 @@ |
||
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; |
@@ -29,25 +29,49 @@ |
||
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; |
@@ -51,6 +51,9 @@ |
||
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; |
@@ -51,6 +51,9 @@ |
||
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; |
@@ -15,8 +15,8 @@ |
||
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 |
@@ -128,6 +128,8 @@ |
||
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 | { |
@@ -139,7 +139,7 @@ |
||
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 | /** |