@@ -70,17 +70,20 @@ discard block |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * @param string $productName |
73 | + * @return void |
|
73 | 74 | */ |
74 | 75 | public function removeProduct($productName); |
75 | 76 | |
76 | 77 | /** |
77 | 78 | * @param string $productName |
78 | 79 | * @param int $quantity |
80 | + * @return void |
|
79 | 81 | */ |
80 | 82 | public function changeQuantity($productName, $quantity); |
81 | 83 | |
82 | 84 | /** |
83 | 85 | * @param string $couponCode |
86 | + * @return void |
|
84 | 87 | */ |
85 | 88 | public function applyCoupon($couponCode); |
86 | 89 | |
@@ -143,12 +146,19 @@ discard block |
||
143 | 146 | */ |
144 | 147 | public function getCartTotal(); |
145 | 148 | |
149 | + /** |
|
150 | + * @return void |
|
151 | + */ |
|
146 | 152 | public function clearCart(); |
147 | 153 | |
154 | + /** |
|
155 | + * @return void |
|
156 | + */ |
|
148 | 157 | public function updateCart(); |
149 | 158 | |
150 | 159 | /** |
151 | 160 | * @param int $timeout |
161 | + * @return void |
|
152 | 162 | */ |
153 | 163 | public function waitForRedirect($timeout); |
154 | 164 |
@@ -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 | /** |
@@ -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 | { |
@@ -87,7 +87,7 @@ |
||
87 | 87 | 'targetEntity' => $subjectClass, |
88 | 88 | 'inversedBy' => 'attributes', |
89 | 89 | 'joinColumns' => [[ |
90 | - 'name' => $subject.'_id', |
|
90 | + 'name' => $subject . '_id', |
|
91 | 91 | 'referencedColumnName' => $targetEntityMetadata->fieldMappings['id']['columnName'], |
92 | 92 | 'nullable' => false, |
93 | 93 | 'onDelete' => 'CASCADE', |
@@ -215,7 +215,7 @@ |
||
215 | 215 | /** |
216 | 216 | * @param OutputInterface $output |
217 | 217 | * |
218 | - * @return mixed |
|
218 | + * @return string |
|
219 | 219 | */ |
220 | 220 | private function getAdministratorPassword(OutputInterface $output) |
221 | 221 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | ->setDescription('Initialize default permissions & roles in the application.') |
31 | 31 | ->setHelp(<<<EOT |
32 | 32 | The <info>%command.name%</info> command initializes default RBAC setup. |
33 | -EOT |
|
33 | +eot |
|
34 | 34 | ) |
35 | 35 | ; |
36 | 36 | } |
@@ -12,18 +12,14 @@ |
||
12 | 12 | namespace Sylius\Bundle\CoreBundle\Command; |
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\AdminUserInterface; |
15 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
16 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
17 | 15 | use Sylius\Component\Locale\Model\LocaleInterface; |
18 | -use Sylius\Component\User\Model\UserInterface; |
|
19 | 16 | use Symfony\Component\Console\Helper\QuestionHelper; |
20 | 17 | use Symfony\Component\Console\Input\InputInterface; |
21 | 18 | use Symfony\Component\Console\Output\OutputInterface; |
22 | 19 | use Symfony\Component\Console\Question\Question; |
23 | -use Symfony\Component\Intl\Intl; |
|
20 | +use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
24 | 21 | use Symfony\Component\Validator\Constraints\Email; |
25 | 22 | use Symfony\Component\Validator\Constraints\NotBlank; |
26 | -use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
27 | 23 | use Webmozart\Assert\Assert; |
28 | 24 | |
29 | 25 | /** |
@@ -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 | } |