@@ -75,6 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * @param string $notes |
| 78 | + * @return void |
|
| 78 | 79 | */ |
| 79 | 80 | public function addNotes($notes); |
| 80 | 81 | |
@@ -135,12 +136,24 @@ discard block |
||
| 135 | 136 | */ |
| 136 | 137 | public function hasProductOutOfStockValidationMessage(ProductInterface $product); |
| 137 | 138 | |
| 139 | + /** |
|
| 140 | + * @return void |
|
| 141 | + */ |
|
| 138 | 142 | public function changeAddress(); |
| 139 | 143 | |
| 144 | + /** |
|
| 145 | + * @return void |
|
| 146 | + */ |
|
| 140 | 147 | public function changeShippingMethod(); |
| 141 | 148 | |
| 149 | + /** |
|
| 150 | + * @return void |
|
| 151 | + */ |
|
| 142 | 152 | public function changePaymentMethod(); |
| 143 | 153 | |
| 154 | + /** |
|
| 155 | + * @return void |
|
| 156 | + */ |
|
| 144 | 157 | public function confirmOrder(); |
| 145 | 158 | |
| 146 | 159 | /** |
@@ -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 | /** |
@@ -101,6 +101,9 @@ |
||
| 101 | 101 | return $webDirectory; |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $webDirectory |
|
| 106 | + */ |
|
| 104 | 107 | private function assertFileContent($lines, $webDirectory) |
| 105 | 108 | { |
| 106 | 109 | foreach ($lines as $line) { |
@@ -20,24 +20,31 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $title |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function titleReview($title); |
| 25 | 26 | |
| 26 | 27 | /** |
| 27 | 28 | * @param string $comment |
| 29 | + * @return void |
|
| 28 | 30 | */ |
| 29 | 31 | public function setComment($comment); |
| 30 | 32 | |
| 31 | 33 | /** |
| 32 | 34 | * @param string $author |
| 35 | + * @return void |
|
| 33 | 36 | */ |
| 34 | 37 | public function setAuthor($author); |
| 35 | 38 | |
| 36 | 39 | /** |
| 37 | 40 | * @param int $rate |
| 41 | + * @return void |
|
| 38 | 42 | */ |
| 39 | 43 | public function rateReview($rate); |
| 40 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 41 | 48 | public function submitReview(); |
| 42 | 49 | |
| 43 | 50 | /** |
@@ -33,11 +33,12 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * @param string $key |
| 35 | 35 | * @param mixed $resource |
| 36 | + * @return void |
|
| 36 | 37 | */ |
| 37 | 38 | public function set($key, $resource); |
| 38 | 39 | |
| 39 | 40 | /** |
| 40 | - * @return mixed |
|
| 41 | + * @return string |
|
| 41 | 42 | */ |
| 42 | 43 | public function getLatestResource(); |
| 43 | 44 | |
@@ -45,6 +46,7 @@ discard block |
||
| 45 | 46 | * @param array $clipboard |
| 46 | 47 | * |
| 47 | 48 | * @throws \RuntimeException |
| 49 | + * @return void |
|
| 48 | 50 | */ |
| 49 | 51 | public function setClipboard(array $clipboard); |
| 50 | 52 | } |
@@ -24,6 +24,7 @@ discard block |
||
| 24 | 24 | { |
| 25 | 25 | /** |
| 26 | 26 | * @throws ElementNotFoundException |
| 27 | + * @return void |
|
| 27 | 28 | */ |
| 28 | 29 | public function addToCart(); |
| 29 | 30 | |
@@ -31,6 +32,7 @@ discard block |
||
| 31 | 32 | * @param string $quantity |
| 32 | 33 | * |
| 33 | 34 | * @throws ElementNotFoundException |
| 35 | + * @return void |
|
| 34 | 36 | */ |
| 35 | 37 | public function addToCartWithQuantity($quantity); |
| 36 | 38 | |
@@ -38,6 +40,7 @@ discard block |
||
| 38 | 40 | * @param string $variant |
| 39 | 41 | * |
| 40 | 42 | * @throws ElementNotFoundException |
| 43 | + * @return void |
|
| 41 | 44 | */ |
| 42 | 45 | public function addToCartWithVariant($variant); |
| 43 | 46 | |
@@ -46,6 +49,7 @@ discard block |
||
| 46 | 49 | * @param string $optionValue |
| 47 | 50 | * |
| 48 | 51 | * @throws ElementNotFoundException |
| 52 | + * @return void |
|
| 49 | 53 | */ |
| 50 | 54 | public function addToCartWithOption(ProductOptionInterface $option, $optionValue); |
| 51 | 55 | |
@@ -56,6 +60,7 @@ discard block |
||
| 56 | 60 | |
| 57 | 61 | /** |
| 58 | 62 | * @param string $url |
| 63 | + * @return void |
|
| 59 | 64 | */ |
| 60 | 65 | public function visit($url); |
| 61 | 66 | |
@@ -67,7 +72,7 @@ discard block |
||
| 67 | 72 | public function getAttributeByName($attributeName); |
| 68 | 73 | |
| 69 | 74 | /** |
| 70 | - * @return array |
|
| 75 | + * @return \Behat\Mink\Element\NodeElement[] |
|
| 71 | 76 | */ |
| 72 | 77 | public function getAttributes(); |
| 73 | 78 | |
@@ -80,6 +85,7 @@ discard block |
||
| 80 | 85 | |
| 81 | 86 | /** |
| 82 | 87 | * @param int $timeout |
| 88 | + * @return void |
|
| 83 | 89 | */ |
| 84 | 90 | public function waitForValidationErrors($timeout); |
| 85 | 91 | |
@@ -123,11 +129,13 @@ discard block |
||
| 123 | 129 | /** |
| 124 | 130 | * @param string $optionName |
| 125 | 131 | * @param string $optionValue |
| 132 | + * @return void |
|
| 126 | 133 | */ |
| 127 | 134 | public function selectOption($optionName, $optionValue); |
| 128 | 135 | |
| 129 | 136 | /** |
| 130 | 137 | * @param string $variantName |
| 138 | + * @return void |
|
| 131 | 139 | */ |
| 132 | 140 | public function selectVariant($variantName); |
| 133 | 141 | |
@@ -18,20 +18,26 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | interface CreatePageInterface extends BaseCreatePageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function addMember(); |
| 22 | 25 | |
| 23 | 26 | /** |
| 24 | 27 | * @param string $message |
| 28 | + * @return boolean |
|
| 25 | 29 | */ |
| 26 | 30 | public function checkValidationMessageForMembers($message); |
| 27 | 31 | |
| 28 | 32 | /** |
| 29 | 33 | * @param string $name |
| 34 | + * @return void |
|
| 30 | 35 | */ |
| 31 | 36 | public function chooseMember($name); |
| 32 | 37 | |
| 33 | 38 | /** |
| 34 | 39 | * @param string $scope |
| 40 | + * @return void |
|
| 35 | 41 | */ |
| 36 | 42 | public function selectScope($scope); |
| 37 | 43 | |
@@ -49,11 +55,13 @@ discard block |
||
| 49 | 55 | |
| 50 | 56 | /** |
| 51 | 57 | * @param string $name |
| 58 | + * @return void |
|
| 52 | 59 | */ |
| 53 | 60 | public function nameIt($name); |
| 54 | 61 | |
| 55 | 62 | /** |
| 56 | 63 | * @param string $code |
| 64 | + * @return void |
|
| 57 | 65 | */ |
| 58 | 66 | public function specifyCode($code); |
| 59 | 67 | } |
@@ -84,6 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * @param Collaborator[] ...$collaborators |
| 87 | + * @param FixtureInterface $collaborators |
|
| 87 | 88 | * |
| 88 | 89 | * @return \Generator |
| 89 | 90 | */ |
@@ -31,10 +31,19 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function isAvailableInChannel($channelName); |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 34 | 37 | public function enable(); |
| 35 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 36 | 42 | public function disable(); |
| 37 | 43 | |
| 44 | + /** |
|
| 45 | + * @return void |
|
| 46 | + */ |
|
| 38 | 47 | public function removeZone(); |
| 39 | 48 | |
| 40 | 49 | /** |