@@ -47,7 +47,8 @@ |
||
| 47 | 47 | { |
| 48 | 48 | $resolver->setNormalizer('validation_groups', function (Options $options, array $validationGroups) { |
| 49 | 49 | return function (FormInterface $form) use ($validationGroups) { |
| 50 | - if ((bool) $form->get('promotionCoupon')->getNormData()) { // Validate the coupon if it was sent |
|
| 50 | + if ((bool) $form->get('promotionCoupon')->getNormData()) { |
|
| 51 | +// Validate the coupon if it was sent |
|
| 51 | 52 | $validationGroups[] = 'sylius_promotion_coupon'; |
| 52 | 53 | } |
| 53 | 54 | |
@@ -58,16 +58,19 @@ |
||
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | 60 | * @param string $fullName |
| 61 | + * @return void |
|
| 61 | 62 | */ |
| 62 | 63 | public function editAddress($fullName); |
| 63 | 64 | |
| 64 | 65 | /** |
| 65 | 66 | * @param string $fullName |
| 67 | + * @return void |
|
| 66 | 68 | */ |
| 67 | 69 | public function deleteAddress($fullName); |
| 68 | 70 | |
| 69 | 71 | /** |
| 70 | 72 | * @param string $fullName |
| 73 | + * @return void |
|
| 71 | 74 | */ |
| 72 | 75 | public function setAsDefault($fullName); |
| 73 | 76 | } |
@@ -21,6 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * @param string $field |
| 23 | 23 | * @param string $value |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function fillField($field, $value); |
| 26 | 27 | |
@@ -36,18 +37,24 @@ discard block |
||
| 36 | 37 | |
| 37 | 38 | /** |
| 38 | 39 | * @param string $name |
| 40 | + * @return void |
|
| 39 | 41 | */ |
| 40 | 42 | public function specifyProvince($name); |
| 41 | 43 | |
| 42 | 44 | /** |
| 43 | 45 | * @param string $name |
| 46 | + * @return void |
|
| 44 | 47 | */ |
| 45 | 48 | public function selectProvince($name); |
| 46 | 49 | |
| 47 | 50 | /** |
| 48 | 51 | * @param string $name |
| 52 | + * @return void |
|
| 49 | 53 | */ |
| 50 | 54 | public function selectCountry($name); |
| 51 | 55 | |
| 56 | + /** |
|
| 57 | + * @return void |
|
| 58 | + */ |
|
| 52 | 59 | public function saveChanges(); |
| 53 | 60 | } |
@@ -42,5 +42,8 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function hasResendVerificationEmailButton(); |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 45 | 48 | public function pressResendVerificationEmail(); |
| 46 | 49 | } |
@@ -38,5 +38,8 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | public function isItPossibleToChangePaymentMethodForOrder(OrderInterface $order); |
| 40 | 40 | |
| 41 | + /** |
|
| 42 | + * @return void |
|
| 43 | + */ |
|
| 41 | 44 | public function openLastOrderPage(); |
| 42 | 45 | } |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $token |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function verifyAccount($token); |
| 25 | 26 | } |
@@ -20,14 +20,19 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $email |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function specifyEmail($email); |
| 25 | 26 | |
| 26 | 27 | /** |
| 27 | 28 | * @param string $message |
| 29 | + * @return void |
|
| 28 | 30 | */ |
| 29 | 31 | public function specifyMessage($message); |
| 30 | 32 | |
| 33 | + /** |
|
| 34 | + * @return void |
|
| 35 | + */ |
|
| 31 | 36 | public function send(); |
| 32 | 37 | |
| 33 | 38 | /** |
@@ -23,10 +23,14 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function hasPayAction(); |
| 25 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 26 | 29 | public function pay(); |
| 27 | 30 | |
| 28 | 31 | /** |
| 29 | 32 | * @param string $paymentMethodName |
| 33 | + * @return void |
|
| 30 | 34 | */ |
| 31 | 35 | public function choosePaymentMethod($paymentMethodName); |
| 32 | 36 | |
@@ -35,8 +35,12 @@ |
||
| 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 | } |