@@ -150,6 +150,7 @@ discard block |
||
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | 152 | * @Then the :productVariantCode variant of the :product product should appear in the shop |
| 153 | + * @param string $productVariantCode |
|
| 153 | 154 | */ |
| 154 | 155 | public function theProductVariantShouldAppearInTheShop($productVariantCode, ProductInterface $product) |
| 155 | 156 | { |
@@ -451,7 +452,7 @@ discard block |
||
| 451 | 452 | |
| 452 | 453 | /** |
| 453 | 454 | * @param string $element |
| 454 | - * @param $message |
|
| 455 | + * @param string $message |
|
| 455 | 456 | */ |
| 456 | 457 | private function assertValidationMessage($element, $message) |
| 457 | 458 | { |
@@ -166,7 +166,7 @@ |
||
| 166 | 166 | */ |
| 167 | 167 | public function iSetItsPriceTo($price = null, $channel = null) |
| 168 | 168 | { |
| 169 | - $this->createPage->specifyPrice($price, (null === $channel) ? $this->sharedStorage->get('channel') :$channel); |
|
| 169 | + $this->createPage->specifyPrice($price, (null === $channel) ? $this->sharedStorage->get('channel') : $channel); |
|
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
@@ -25,15 +25,20 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function hasValidationErrorWith($message); |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 28 | 31 | public function logIn(); |
| 29 | 32 | |
| 30 | 33 | /** |
| 31 | 34 | * @param string $password |
| 35 | + * @return void |
|
| 32 | 36 | */ |
| 33 | 37 | public function specifyPassword($password); |
| 34 | 38 | |
| 35 | 39 | /** |
| 36 | 40 | * @param string $userName |
| 41 | + * @return void |
|
| 37 | 42 | */ |
| 38 | 43 | public function specifyUserName($userName); |
| 39 | 44 | } |
@@ -39,25 +39,32 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function checkGenerationValidation($message); |
| 41 | 41 | |
| 42 | + /** |
|
| 43 | + * @return void |
|
| 44 | + */ |
|
| 42 | 45 | public function generate(); |
| 43 | 46 | |
| 44 | 47 | /** |
| 45 | 48 | * @param int $amount |
| 49 | + * @return void |
|
| 46 | 50 | */ |
| 47 | 51 | public function specifyAmount($amount); |
| 48 | 52 | |
| 49 | 53 | /** |
| 50 | 54 | * @param int $codeLength |
| 55 | + * @return void |
|
| 51 | 56 | */ |
| 52 | 57 | public function specifyCodeLength($codeLength); |
| 53 | 58 | |
| 54 | 59 | /** |
| 55 | 60 | * @param \DateTime $date |
| 61 | + * @return void |
|
| 56 | 62 | */ |
| 57 | 63 | public function setExpiresAt(\DateTime $date); |
| 58 | 64 | |
| 59 | 65 | /** |
| 60 | 66 | * @param int $limit |
| 67 | + * @return void |
|
| 61 | 68 | */ |
| 62 | 69 | public function setUsageLimit($limit); |
| 63 | 70 | } |
@@ -36,11 +36,13 @@ discard block |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * @param string $locale |
| 39 | + * @return void |
|
| 39 | 40 | */ |
| 40 | 41 | public function setCurrentLocale($locale); |
| 41 | 42 | |
| 42 | 43 | /** |
| 43 | 44 | * @param string $locale |
| 45 | + * @return void |
|
| 44 | 46 | */ |
| 45 | 47 | public function setFallbackLocale($locale); |
| 46 | 48 | |
@@ -51,11 +53,13 @@ discard block |
||
| 51 | 53 | |
| 52 | 54 | /** |
| 53 | 55 | * @param TranslationInterface $translation |
| 56 | + * @return void |
|
| 54 | 57 | */ |
| 55 | 58 | public function addTranslation(TranslationInterface $translation); |
| 56 | 59 | |
| 57 | 60 | /** |
| 58 | 61 | * @param TranslationInterface $translation |
| 62 | + * @return void |
|
| 59 | 63 | */ |
| 60 | 64 | public function removeTranslation(TranslationInterface $translation); |
| 61 | 65 | } |
@@ -20,38 +20,48 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $name |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function specifyFirstName($name); |
| 25 | 26 | |
| 26 | 27 | /** |
| 27 | 28 | * @param string $name |
| 29 | + * @return void |
|
| 28 | 30 | */ |
| 29 | 31 | public function specifyLastName($name); |
| 30 | 32 | |
| 31 | 33 | /** |
| 32 | 34 | * @param string $email |
| 35 | + * @return void |
|
| 33 | 36 | */ |
| 34 | 37 | public function specifyEmail($email); |
| 35 | 38 | |
| 36 | 39 | /** |
| 37 | 40 | * @param string $birthday |
| 41 | + * @return void |
|
| 38 | 42 | */ |
| 39 | 43 | public function specifyBirthday($birthday); |
| 40 | 44 | |
| 41 | 45 | /** |
| 42 | 46 | * @param string $password |
| 47 | + * @return void |
|
| 43 | 48 | */ |
| 44 | 49 | public function specifyPassword($password); |
| 45 | 50 | |
| 46 | 51 | /** |
| 47 | 52 | * @param string $gender |
| 53 | + * @return void |
|
| 48 | 54 | */ |
| 49 | 55 | public function chooseGender($gender); |
| 50 | 56 | |
| 51 | 57 | /** |
| 52 | 58 | * @param string $group |
| 59 | + * @return void |
|
| 53 | 60 | */ |
| 54 | 61 | public function chooseGroup($group); |
| 55 | 62 | |
| 63 | + /** |
|
| 64 | + * @return void |
|
| 65 | + */ |
|
| 56 | 66 | public function selectCreateAccount(); |
| 57 | 67 | } |
@@ -18,7 +18,14 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function enable(); |
| 25 | + |
|
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 22 | 29 | public function disable(); |
| 23 | 30 | |
| 24 | 31 | /** |
@@ -28,6 +35,7 @@ discard block |
||
| 28 | 35 | |
| 29 | 36 | /** |
| 30 | 37 | * @param string $firstName |
| 38 | + * @return void |
|
| 31 | 39 | */ |
| 32 | 40 | public function changeFirstName($firstName); |
| 33 | 41 | |
@@ -38,6 +46,7 @@ discard block |
||
| 38 | 46 | |
| 39 | 47 | /** |
| 40 | 48 | * @param string $lastName |
| 49 | + * @return void |
|
| 41 | 50 | */ |
| 42 | 51 | public function changeLastName($lastName); |
| 43 | 52 | |
@@ -48,11 +57,13 @@ discard block |
||
| 48 | 57 | |
| 49 | 58 | /** |
| 50 | 59 | * @param string $email |
| 60 | + * @return void |
|
| 51 | 61 | */ |
| 52 | 62 | public function changeEmail($email); |
| 53 | 63 | |
| 54 | 64 | /** |
| 55 | 65 | * @param string $password |
| 66 | + * @return void |
|
| 56 | 67 | */ |
| 57 | 68 | public function changePassword($password); |
| 58 | 69 | |
@@ -61,6 +72,9 @@ discard block |
||
| 61 | 72 | */ |
| 62 | 73 | public function getPassword(); |
| 63 | 74 | |
| 75 | + /** |
|
| 76 | + * @return void |
|
| 77 | + */ |
|
| 64 | 78 | public function subscribeToTheNewsletter(); |
| 65 | 79 | |
| 66 | 80 | /** |
@@ -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 | } |
@@ -36,11 +36,13 @@ discard block |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * @param string $locale |
| 39 | + * @return void |
|
| 39 | 40 | */ |
| 40 | 41 | public function setCurrentLocale($locale); |
| 41 | 42 | |
| 42 | 43 | /** |
| 43 | 44 | * @param string $locale |
| 45 | + * @return void |
|
| 44 | 46 | */ |
| 45 | 47 | public function setFallbackLocale($locale); |
| 46 | 48 | |
@@ -51,11 +53,13 @@ discard block |
||
| 51 | 53 | |
| 52 | 54 | /** |
| 53 | 55 | * @param TranslationInterface $translation |
| 56 | + * @return void |
|
| 54 | 57 | */ |
| 55 | 58 | public function addTranslation(TranslationInterface $translation); |
| 56 | 59 | |
| 57 | 60 | /** |
| 58 | 61 | * @param TranslationInterface $translation |
| 62 | + * @return void |
|
| 59 | 63 | */ |
| 60 | 64 | public function removeTranslation(TranslationInterface $translation); |
| 61 | 65 | } |
@@ -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 | } |