@@ -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 @@ discard block |
||
| 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 | |
@@ -231,6 +231,6 @@ discard block |
||
| 231 | 231 | */ |
| 232 | 232 | private function getCodeFromNameAndZoneCode($taxRateName, $zoneCode) |
| 233 | 233 | { |
| 234 | - return $this->getCodeFromName($taxRateName).'_'.strtolower($zoneCode); |
|
| 234 | + return $this->getCodeFromName($taxRateName) . '_' . strtolower($zoneCode); |
|
| 235 | 235 | } |
| 236 | 236 | } |
@@ -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 | |
@@ -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 | /** |
@@ -44,28 +51,36 @@ discard block |
||
| 44 | 51 | * @param string $name |
| 45 | 52 | * @param string $code |
| 46 | 53 | * @param string|null $abbreviation |
| 54 | + * @return void |
|
| 47 | 55 | */ |
| 48 | 56 | public function addProvince($name, $code, $abbreviation = null); |
| 49 | 57 | |
| 50 | 58 | /** |
| 51 | 59 | * @param string $provinceName |
| 60 | + * @return void |
|
| 52 | 61 | */ |
| 53 | 62 | public function removeProvince($provinceName); |
| 54 | 63 | |
| 64 | + /** |
|
| 65 | + * @return void |
|
| 66 | + */ |
|
| 55 | 67 | public function clickAddProvinceButton(); |
| 56 | 68 | |
| 57 | 69 | /** |
| 58 | 70 | * @param string $provinceName |
| 71 | + * @return void |
|
| 59 | 72 | */ |
| 60 | 73 | public function nameProvince($provinceName); |
| 61 | 74 | |
| 62 | 75 | /** |
| 63 | 76 | * @param string $provinceName |
| 77 | + * @return void |
|
| 64 | 78 | */ |
| 65 | 79 | public function removeProvinceName($provinceName); |
| 66 | 80 | |
| 67 | 81 | /** |
| 68 | 82 | * @param string $provinceCode |
| 83 | + * @return void |
|
| 69 | 84 | */ |
| 70 | 85 | public function specifyProvinceCode($provinceCode); |
| 71 | 86 | } |
@@ -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 | |
@@ -21,6 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param string $name |
| 23 | 23 | * @param string $language |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function changeName($name, $language); |
| 26 | 27 | |
@@ -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\ProductAttribute; |
| 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 | |