@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * @param string $taxRateAmount |
189 | 189 | * |
190 | - * @return string |
|
190 | + * @return integer |
|
191 | 191 | */ |
192 | 192 | private function getAmountFromString($taxRateAmount) |
193 | 193 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Context\Setup; |
15 | 15 |
@@ -21,6 +21,7 @@ discard block |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param string $name |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function chooseName($name); |
26 | 27 | |
@@ -28,6 +29,7 @@ discard block |
||
28 | 29 | * @param string $name |
29 | 30 | * @param string $code |
30 | 31 | * @param string|null $abbreviation |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function addProvince($name, $code, $abbreviation = null); |
33 | 35 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\Country; |
15 | 15 |
@@ -29,6 +29,7 @@ |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @throws ElementNotFoundException |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function create(); |
34 | 35 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\Crud; |
15 | 15 |
@@ -33,5 +33,8 @@ |
||
33 | 33 | */ |
34 | 34 | public function hasResourceValues(array $parameters); |
35 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
36 | 39 | public function saveChanges(); |
37 | 40 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\Crud; |
15 | 15 |
@@ -20,11 +20,13 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $name |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function chooseName($name); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param float $exchangeRate |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function specifyExchangeRate($exchangeRate); |
30 | 32 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\Currency; |
15 | 15 |
@@ -23,6 +23,7 @@ |
||
23 | 23 | * @param string $name |
24 | 24 | * |
25 | 25 | * @throws ElementNotFoundException |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function chooseName($name); |
28 | 29 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\Locale; |
15 | 15 |
@@ -20,23 +20,27 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $code |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function specifyCode($code); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param string $name |
28 | 29 | * @param string $language |
30 | + * @return void |
|
29 | 31 | */ |
30 | 32 | public function nameItIn($name, $language); |
31 | 33 | |
32 | 34 | /** |
33 | 35 | * @param string $code |
34 | 36 | * @param string $value |
37 | + * @return void |
|
35 | 38 | */ |
36 | 39 | public function addOptionValue($code, $value); |
37 | 40 | |
38 | 41 | /** |
39 | 42 | * @param string $message |
43 | + * @return boolean |
|
40 | 44 | */ |
41 | 45 | public function checkValidationMessageForOptionValues($message); |
42 | 46 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\ProductOption; |
15 | 15 |
@@ -26,22 +26,26 @@ |
||
26 | 26 | /** |
27 | 27 | * @param string $name |
28 | 28 | * @param string $languageCode |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function nameItIn($name, $languageCode); |
31 | 32 | |
32 | 33 | /** |
33 | 34 | * @param string $optionValue |
35 | + * @return boolean |
|
34 | 36 | */ |
35 | 37 | public function isThereOptionValue($optionValue); |
36 | 38 | |
37 | 39 | /** |
38 | 40 | * @param string $code |
39 | 41 | * @param string $value |
42 | + * @return void |
|
40 | 43 | */ |
41 | 44 | public function addOptionValue($code, $value); |
42 | 45 | |
43 | 46 | /** |
44 | 47 | * @param string $optionValue |
48 | + * @return void |
|
45 | 49 | */ |
46 | 50 | public function removeOptionValue($optionValue); |
47 | 51 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\ProductOption; |
15 | 15 |
@@ -20,16 +20,19 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $code |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function specifyCode($code); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param string $name |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function nameIt($name); |
30 | 32 | |
31 | 33 | /** |
32 | 34 | * @param string $description |
35 | + * @return void |
|
33 | 36 | */ |
34 | 37 | public function describeItAs($description); |
35 | 38 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\TaxCategory; |
15 | 15 |