@@ -38,6 +38,7 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @param string $email |
| 41 | + * @return void |
|
| 41 | 42 | */ |
| 42 | 43 | public function setEmail($email); |
| 43 | 44 | |
@@ -50,6 +51,7 @@ discard block |
||
| 50 | 51 | |
| 51 | 52 | /** |
| 52 | 53 | * @param string $emailCanonical |
| 54 | + * @return void |
|
| 53 | 55 | */ |
| 54 | 56 | public function setEmailCanonical($emailCanonical); |
| 55 | 57 | |
@@ -67,6 +69,7 @@ discard block |
||
| 67 | 69 | |
| 68 | 70 | /** |
| 69 | 71 | * @param string $firstName |
| 72 | + * @return void |
|
| 70 | 73 | */ |
| 71 | 74 | public function setFirstName($firstName); |
| 72 | 75 | |
@@ -77,6 +80,7 @@ discard block |
||
| 77 | 80 | |
| 78 | 81 | /** |
| 79 | 82 | * @param string $lastName |
| 83 | + * @return void |
|
| 80 | 84 | */ |
| 81 | 85 | public function setLastName($lastName); |
| 82 | 86 | |
@@ -87,6 +91,7 @@ discard block |
||
| 87 | 91 | |
| 88 | 92 | /** |
| 89 | 93 | * @param \DateTime $birthday |
| 94 | + * @return void |
|
| 90 | 95 | */ |
| 91 | 96 | public function setBirthday(\DateTime $birthday = null); |
| 92 | 97 | |
@@ -99,6 +104,7 @@ discard block |
||
| 99 | 104 | * You should use interface constants for that. |
| 100 | 105 | * |
| 101 | 106 | * @param string $gender |
| 107 | + * @return void |
|
| 102 | 108 | */ |
| 103 | 109 | public function setGender($gender); |
| 104 | 110 | |
@@ -119,6 +125,7 @@ discard block |
||
| 119 | 125 | |
| 120 | 126 | /** |
| 121 | 127 | * @param string $phoneNumber |
| 128 | + * @return void |
|
| 122 | 129 | */ |
| 123 | 130 | public function setPhoneNumber($phoneNumber); |
| 124 | 131 | } |
@@ -815,6 +815,8 @@ |
||
| 815 | 815 | /** |
| 816 | 816 | * @Given I have proceeded order with :shippingMethod shipping method and :paymentMethod payment |
| 817 | 817 | * @When I proceed with :shippingMethod shipping method and :paymentMethod payment |
| 818 | + * @param string $shippingMethod |
|
| 819 | + * @param string $paymentMethod |
|
| 818 | 820 | */ |
| 819 | 821 | public function iProceedOrderWithShippingMethodAndPayment($shippingMethod, $paymentMethod) |
| 820 | 822 | { |
@@ -18,67 +18,85 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | interface CreatePageInterface extends BaseCreatePageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function enable(); |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function disable(); |
| 24 | 30 | |
| 25 | 31 | /** |
| 26 | 32 | * @param string $name |
| 33 | + * @return void |
|
| 27 | 34 | */ |
| 28 | 35 | public function nameIt($name); |
| 29 | 36 | |
| 30 | 37 | /** |
| 31 | 38 | * @param string $code |
| 39 | + * @return void |
|
| 32 | 40 | */ |
| 33 | 41 | public function specifyCode($code); |
| 34 | 42 | |
| 35 | 43 | /** |
| 36 | 44 | * @param string $description |
| 45 | + * @return void |
|
| 37 | 46 | */ |
| 38 | 47 | public function describeItAs($description); |
| 39 | 48 | |
| 40 | 49 | /** |
| 41 | 50 | * @param string $hostname |
| 51 | + * @return void |
|
| 42 | 52 | */ |
| 43 | 53 | public function setHostname($hostname); |
| 44 | 54 | |
| 45 | 55 | /** |
| 46 | 56 | * @param string $contactEmail |
| 57 | + * @return void |
|
| 47 | 58 | */ |
| 48 | 59 | public function setContactEmail($contactEmail); |
| 49 | 60 | |
| 50 | 61 | /** |
| 51 | 62 | * @param string $color |
| 63 | + * @return void |
|
| 52 | 64 | */ |
| 53 | 65 | public function defineColor($color); |
| 54 | 66 | |
| 55 | 67 | /** |
| 56 | 68 | * @param string $language |
| 69 | + * @return void |
|
| 57 | 70 | */ |
| 58 | 71 | public function chooseLocale($language); |
| 59 | 72 | |
| 60 | 73 | /** |
| 61 | 74 | * @param string $currencyCode |
| 75 | + * @return void |
|
| 62 | 76 | */ |
| 63 | 77 | public function chooseCurrency($currencyCode); |
| 64 | 78 | |
| 65 | 79 | /** |
| 66 | 80 | * @param string $taxZone |
| 81 | + * @return void |
|
| 67 | 82 | */ |
| 68 | 83 | public function chooseDefaultTaxZone($taxZone); |
| 69 | 84 | |
| 70 | 85 | /** |
| 71 | 86 | * @param string $locale |
| 87 | + * @return void |
|
| 72 | 88 | */ |
| 73 | 89 | public function chooseDefaultLocale($locale); |
| 74 | 90 | |
| 75 | 91 | /** |
| 76 | 92 | * @param string $currency |
| 93 | + * @return void |
|
| 77 | 94 | */ |
| 78 | 95 | public function chooseBaseCurrency($currency); |
| 79 | 96 | |
| 80 | 97 | /** |
| 81 | 98 | * @param string $taxCalculationStrategy |
| 99 | + * @return void |
|
| 82 | 100 | */ |
| 83 | 101 | public function chooseTaxCalculationStrategy($taxCalculationStrategy); |
| 84 | 102 | } |
@@ -63,12 +63,14 @@ discard block |
||
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | 65 | * @param string $productName |
| 66 | + * @return void |
|
| 66 | 67 | */ |
| 67 | 68 | public function removeProduct($productName); |
| 68 | 69 | |
| 69 | 70 | /** |
| 70 | 71 | * @param string $productName |
| 71 | 72 | * @param int $quantity |
| 73 | + * @return void |
|
| 72 | 74 | */ |
| 73 | 75 | public function changeQuantity($productName, $quantity); |
| 74 | 76 | |
@@ -112,5 +114,8 @@ discard block |
||
| 112 | 114 | */ |
| 113 | 115 | public function getQuantity($productName); |
| 114 | 116 | |
| 117 | + /** |
|
| 118 | + * @return void |
|
| 119 | + */ |
|
| 115 | 120 | public function clearCart(); |
| 116 | 121 | } |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | - * @return array |
|
| 113 | + * @return \Generator |
|
| 114 | 114 | */ |
| 115 | 115 | private function getLocales() |
| 116 | 116 | { |
@@ -32,16 +32,19 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param Collection $variants |
| 35 | + * @return void |
|
| 35 | 36 | */ |
| 36 | 37 | public function setVariants(Collection $variants); |
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param VariantInterface $variant |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function addVariant(VariantInterface $variant); |
| 42 | 44 | |
| 43 | 45 | /** |
| 44 | 46 | * @param VariantInterface $variant |
| 47 | + * @return void |
|
| 45 | 48 | */ |
| 46 | 49 | public function removeVariant(VariantInterface $variant); |
| 47 | 50 | |
@@ -64,16 +67,19 @@ discard block |
||
| 64 | 67 | |
| 65 | 68 | /** |
| 66 | 69 | * @param Collection $options |
| 70 | + * @return void |
|
| 67 | 71 | */ |
| 68 | 72 | public function setOptions(Collection $options); |
| 69 | 73 | |
| 70 | 74 | /** |
| 71 | 75 | * @param OptionInterface $option |
| 76 | + * @return void |
|
| 72 | 77 | */ |
| 73 | 78 | public function addOption(OptionInterface $option); |
| 74 | 79 | |
| 75 | 80 | /** |
| 76 | 81 | * @param OptionInterface $option |
| 82 | + * @return void |
|
| 77 | 83 | */ |
| 78 | 84 | public function removeOption(OptionInterface $option); |
| 79 | 85 | |