@@ -33,6 +33,7 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @throws FileNotFoundException When originFile doesn't exist |
| 35 | 35 | * @throws IOException When copy fails |
| 36 | + * @return void |
|
| 36 | 37 | */ |
| 37 | 38 | public function copy($originFile, $targetFile, $override = false); |
| 38 | 39 | |
@@ -43,13 +44,14 @@ discard block |
||
| 43 | 44 | * @param int $mode The directory mode |
| 44 | 45 | * |
| 45 | 46 | * @throws IOException On any directory creation failure |
| 47 | + * @return void |
|
| 46 | 48 | */ |
| 47 | 49 | public function mkdir($dirs, $mode = 0777); |
| 48 | 50 | |
| 49 | 51 | /** |
| 50 | 52 | * Checks the existence of files or directories. |
| 51 | 53 | * |
| 52 | - * @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to check |
|
| 54 | + * @param string $files A filename, an array of files, or a \Traversable instance to check |
|
| 53 | 55 | * |
| 54 | 56 | * @return bool true if the file exists, false otherwise |
| 55 | 57 | */ |
@@ -63,6 +65,7 @@ discard block |
||
| 63 | 65 | * @param int $atime The access time as a Unix timestamp |
| 64 | 66 | * |
| 65 | 67 | * @throws IOException When touch fails |
| 68 | + * @return void |
|
| 66 | 69 | */ |
| 67 | 70 | public function touch($files, $time = null, $atime = null); |
| 68 | 71 | |
@@ -72,6 +75,7 @@ discard block |
||
| 72 | 75 | * @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to remove |
| 73 | 76 | * |
| 74 | 77 | * @throws IOException When removal fails |
| 78 | + * @return void |
|
| 75 | 79 | */ |
| 76 | 80 | public function remove($files); |
| 77 | 81 | |
@@ -84,6 +88,7 @@ discard block |
||
| 84 | 88 | * @param bool $recursive Whether change the mod recursively or not |
| 85 | 89 | * |
| 86 | 90 | * @throws IOException When the change fail |
| 91 | + * @return void |
|
| 87 | 92 | */ |
| 88 | 93 | public function chmod($files, $mode, $umask = 0000, $recursive = false); |
| 89 | 94 | |
@@ -95,6 +100,7 @@ discard block |
||
| 95 | 100 | * @param bool $recursive Whether change the owner recursively or not |
| 96 | 101 | * |
| 97 | 102 | * @throws IOException When the change fail |
| 103 | + * @return void |
|
| 98 | 104 | */ |
| 99 | 105 | public function chown($files, $user, $recursive = false); |
| 100 | 106 | |
@@ -106,6 +112,7 @@ discard block |
||
| 106 | 112 | * @param bool $recursive Whether change the group recursively or not |
| 107 | 113 | * |
| 108 | 114 | * @throws IOException When the change fail |
| 115 | + * @return void |
|
| 109 | 116 | */ |
| 110 | 117 | public function chgrp($files, $group, $recursive = false); |
| 111 | 118 | |
@@ -118,6 +125,7 @@ discard block |
||
| 118 | 125 | * |
| 119 | 126 | * @throws IOException When target file or directory already exists |
| 120 | 127 | * @throws IOException When origin cannot be renamed |
| 128 | + * @return void |
|
| 121 | 129 | */ |
| 122 | 130 | public function rename($origin, $target, $overwrite = false); |
| 123 | 131 | |
@@ -129,6 +137,7 @@ discard block |
||
| 129 | 137 | * @param bool $copyOnWindows Whether to copy files if on Windows |
| 130 | 138 | * |
| 131 | 139 | * @throws IOException When symlink fails |
| 140 | + * @return void |
|
| 132 | 141 | */ |
| 133 | 142 | public function symlink($originDir, $targetDir, $copyOnWindows = false); |
| 134 | 143 | |
@@ -145,6 +154,7 @@ discard block |
||
| 145 | 154 | * - $options['delete'] Whether to delete files that are not in the source directory (defaults to false) |
| 146 | 155 | * |
| 147 | 156 | * @throws IOException When file type is unknown |
| 157 | + * @return void |
|
| 148 | 158 | */ |
| 149 | 159 | public function mirror($originDir, $targetDir, \Traversable $iterator = null, $options = []); |
| 150 | 160 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param array $themes |
|
| 40 | + * @param ThemeInterface[] $themes |
|
| 41 | 41 | * |
| 42 | 42 | * @return array |
| 43 | 43 | */ |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return array |
|
| 31 | + * @return string[] |
|
| 32 | 32 | */ |
| 33 | 33 | protected function getTranslationsLines() |
| 34 | 34 | { |
@@ -21,19 +21,25 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | 23 | * @param string $firstName |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function specifyFirstName($firstName); |
| 26 | 27 | |
| 27 | 28 | /** |
| 28 | 29 | * @param string $lastName |
| 30 | + * @return void |
|
| 29 | 31 | */ |
| 30 | 32 | public function specifyLastName($lastName); |
| 31 | 33 | |
| 32 | 34 | /** |
| 33 | 35 | * @param string $email |
| 36 | + * @return void |
|
| 34 | 37 | */ |
| 35 | 38 | public function specifyEmail($email); |
| 36 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 37 | 43 | public function saveChanges(); |
| 38 | 44 | |
| 39 | 45 | /** |
@@ -46,6 +52,9 @@ discard block |
||
| 46 | 52 | */ |
| 47 | 53 | public function checkValidationMessageFor($element, $message); |
| 48 | 54 | |
| 55 | + /** |
|
| 56 | + * @return void |
|
| 57 | + */ |
|
| 49 | 58 | public function subscribeToTheNewsletter(); |
| 50 | 59 | |
| 51 | 60 | /** |
@@ -26,37 +26,49 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function checkValidationMessageFor($element, $message); |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @return void |
|
| 31 | + */ |
|
| 29 | 32 | public function register(); |
| 30 | 33 | |
| 31 | 34 | /** |
| 32 | 35 | * @param string $email |
| 36 | + * @return void |
|
| 33 | 37 | */ |
| 34 | 38 | public function specifyEmail($email); |
| 35 | 39 | |
| 36 | 40 | /** |
| 37 | 41 | * @param string $firstName |
| 42 | + * @return void |
|
| 38 | 43 | */ |
| 39 | 44 | public function specifyFirstName($firstName); |
| 40 | 45 | |
| 41 | 46 | /** |
| 42 | 47 | * @param string $lastName |
| 48 | + * @return void |
|
| 43 | 49 | */ |
| 44 | 50 | public function specifyLastName($lastName); |
| 45 | 51 | |
| 46 | 52 | /** |
| 47 | 53 | * @param string $password |
| 54 | + * @return void |
|
| 48 | 55 | */ |
| 49 | 56 | public function specifyPassword($password); |
| 50 | 57 | |
| 51 | 58 | /** |
| 52 | 59 | * @param string $phoneNumber |
| 60 | + * @return void |
|
| 53 | 61 | */ |
| 54 | 62 | public function specifyPhoneNumber($phoneNumber); |
| 55 | 63 | |
| 56 | 64 | /** |
| 57 | 65 | * @param string $password |
| 66 | + * @return void |
|
| 58 | 67 | */ |
| 59 | 68 | public function verifyPassword($password); |
| 60 | 69 | |
| 70 | + /** |
|
| 71 | + * @return void |
|
| 72 | + */ |
|
| 61 | 73 | public function subscribeToTheNewsletter(); |
| 62 | 74 | } |
@@ -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 | |
@@ -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 | /** |
@@ -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 | /** |