@@ -21,16 +21,19 @@ |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param string $password |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function specifyCurrentPassword($password); |
26 | 27 | |
27 | 28 | /** |
28 | 29 | * @param string $password |
30 | + * @return void |
|
29 | 31 | */ |
30 | 32 | public function specifyNewPassword($password); |
31 | 33 | |
32 | 34 | /** |
33 | 35 | * @param string $password |
36 | + * @return void |
|
34 | 37 | */ |
35 | 38 | public function specifyConfirmationPassword($password); |
36 | 39 |
@@ -19,6 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @param string $name |
21 | 21 | * @param string $value |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function setCookie($name, $value); |
24 | 25 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | For the full copyright and license information, please view the LICENSE |
20 | 20 | file that was distributed with this source code. |
21 | -EOF; |
|
21 | +eof; |
|
22 | 22 | |
23 | 23 | HeaderCommentFixer::setHeader($header); |
24 | 24 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | The <info>sylius:user:promote</info> command promotes a user by adding security roles |
39 | 39 | |
40 | 40 | <info>php app/console sylius:user:promote [email protected]</info> |
41 | -EOT |
|
41 | +eot |
|
42 | 42 | ); |
43 | 43 | } |
44 | 44 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | The <info>sylius:user:demote</info> command demotes a user by removing security roles |
39 | 39 | |
40 | 40 | <info>php app/console sylius:user:demote [email protected]</info> |
41 | -EOT |
|
41 | +eot |
|
42 | 42 | ); |
43 | 43 | } |
44 | 44 |
@@ -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 | /** |
@@ -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 |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | "username": "[email protected]", |
36 | 36 | "password": "sylius" |
37 | 37 | } |
38 | -EOT; |
|
38 | +eot; |
|
39 | 39 | |
40 | 40 | $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
41 | 41 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | "grant_type": "refresh_token", |
59 | 59 | "refresh_token": "SampleRefreshTokenODllODY4ZTQyOThlNWIyMjA1ZDhmZjE1ZDYyMGMwOTUxOWM2NGFmNGRjNjQ2NDBhMDVlNGZjMmQ0YzgyNDM2Ng" |
60 | 60 | } |
61 | -EOT; |
|
61 | +eot; |
|
62 | 62 | |
63 | 63 | $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
64 | 64 |
@@ -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 | /** |