@@ -20,6 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $paymentMethod |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function selectPaymentMethod($paymentMethod); |
| 25 | 26 | |
@@ -37,12 +38,24 @@ discard block |
||
| 37 | 38 | */ |
| 38 | 39 | public function getItemSubtotal($itemName); |
| 39 | 40 | |
| 41 | + /** |
|
| 42 | + * @return void |
|
| 43 | + */ |
|
| 40 | 44 | public function nextStep(); |
| 41 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 42 | 49 | public function changeShippingMethod(); |
| 43 | 50 | |
| 51 | + /** |
|
| 52 | + * @return void |
|
| 53 | + */ |
|
| 44 | 54 | public function changeShippingMethodByStepLabel(); |
| 45 | 55 | |
| 56 | + /** |
|
| 57 | + * @return void |
|
| 58 | + */ |
|
| 46 | 59 | public function changeAddressByStepLabel(); |
| 47 | 60 | |
| 48 | 61 | /** |
@@ -20,6 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $shippingMethod |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function selectShippingMethod($shippingMethod); |
| 25 | 26 | |
@@ -50,10 +51,19 @@ discard block |
||
| 50 | 51 | */ |
| 51 | 52 | public function getItemSubtotal($itemName); |
| 52 | 53 | |
| 54 | + /** |
|
| 55 | + * @return void |
|
| 56 | + */ |
|
| 53 | 57 | public function nextStep(); |
| 54 | 58 | |
| 59 | + /** |
|
| 60 | + * @return void |
|
| 61 | + */ |
|
| 55 | 62 | public function changeAddress(); |
| 56 | 63 | |
| 64 | + /** |
|
| 65 | + * @return void |
|
| 66 | + */ |
|
| 57 | 67 | public function changeAddressByStepLabel(); |
| 58 | 68 | |
| 59 | 69 | /** |
@@ -27,6 +27,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -26,10 +26,14 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function checkValidationMessageFor($element, $message); |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @return void |
|
| 31 | + */ |
|
| 29 | 32 | public function reset(); |
| 30 | 33 | |
| 31 | 34 | /** |
| 32 | 35 | * @param string $email |
| 36 | + * @return void |
|
| 33 | 37 | */ |
| 34 | 38 | public function specifyEmail($email); |
| 35 | 39 | } |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -20,8 +20,12 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $shippingMethod |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function selectShippingMethod($shippingMethod); |
| 25 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 26 | 30 | public function continueCheckout(); |
| 27 | 31 | } |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | - * @return array |
|
| 61 | + * @return string[] |
|
| 62 | 62 | */ |
| 63 | 63 | public function getRecipients() |
| 64 | 64 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param $id |
|
| 49 | + * @param string $id |
|
| 50 | 50 | * |
| 51 | 51 | * @return object |
| 52 | 52 | */ |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | - * @param array $headers |
|
| 75 | + * @param string[] $headers |
|
| 76 | 76 | * @param array $rows |
| 77 | 77 | * @param OutputInterface $output |
| 78 | 78 | */ |
@@ -144,9 +144,9 @@ discard block |
||
| 144 | 144 | /** |
| 145 | 145 | * @param OutputInterface $output |
| 146 | 146 | * @param string $question |
| 147 | - * @param array $constraints |
|
| 147 | + * @param \Symfony\Component\Validator\Constraints\NotBlank[] $constraints |
|
| 148 | 148 | * |
| 149 | - * @return mixed |
|
| 149 | + * @return string |
|
| 150 | 150 | */ |
| 151 | 151 | protected function askHidden(OutputInterface $output, $question, array $constraints = []) |
| 152 | 152 | { |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * @param array $constraints |
| 160 | 160 | * @param mixed $default |
| 161 | 161 | * |
| 162 | - * @return mixed |
|
| 162 | + * @return string |
|
| 163 | 163 | */ |
| 164 | 164 | protected function ask(OutputInterface $output, $question, array $constraints = [], $default = null) |
| 165 | 165 | { |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | - * @param mixed $value |
|
| 170 | + * @param string $value |
|
| 171 | 171 | * @param array $constraints |
| 172 | 172 | * |
| 173 | 173 | * @return bool |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | * @param string $default |
| 196 | 196 | * @param bool $hidden |
| 197 | 197 | * |
| 198 | - * @return mixed |
|
| 198 | + * @return string |
|
| 199 | 199 | */ |
| 200 | 200 | private function proceedAskRequest(OutputInterface $output, $question, array $constraints = [], $default = null, $hidden = false) |
| 201 | 201 | { |