@@ -199,6 +199,7 @@ |
||
| 199 | 199 | |
| 200 | 200 | /** |
| 201 | 201 | * {@inheritdoc} |
| 202 | + * @param string $name |
|
| 202 | 203 | */ |
| 203 | 204 | protected function getElement($name, array $parameters = []) |
| 204 | 205 | { |
@@ -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\Product; |
| 15 | 15 | |
@@ -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\Product; |
| 15 | 15 | |
@@ -23,39 +23,46 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * @param string $channelName |
| 25 | 25 | * @param int $price |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function specifyPrice($channelName, $price); |
| 28 | 29 | |
| 29 | 30 | /** |
| 30 | 31 | * @param string $channelName |
| 31 | 32 | * @param int $originalPrice |
| 33 | + * @return void |
|
| 32 | 34 | */ |
| 33 | 35 | public function specifyOriginalPrice($channelName, $originalPrice); |
| 34 | 36 | |
| 35 | 37 | /** |
| 36 | 38 | * @param string $name |
| 39 | + * @return void |
|
| 37 | 40 | */ |
| 38 | 41 | public function choosePricingCalculator($name); |
| 39 | 42 | |
| 40 | 43 | /** |
| 41 | 44 | * @param string $channelName |
| 45 | + * @return void |
|
| 42 | 46 | */ |
| 43 | 47 | public function checkChannel($channelName); |
| 44 | 48 | |
| 45 | 49 | /** |
| 46 | 50 | * @param string $code |
| 51 | + * @return void |
|
| 47 | 52 | */ |
| 48 | 53 | public function specifyCode($code); |
| 49 | 54 | |
| 50 | 55 | /** |
| 51 | 56 | * @param string $name |
| 52 | 57 | * @param string $localeCode |
| 58 | + * @return void |
|
| 53 | 59 | */ |
| 54 | 60 | public function nameItIn($name, $localeCode); |
| 55 | 61 | |
| 56 | 62 | /** |
| 57 | 63 | * @param string $slug |
| 58 | 64 | * @param string $locale |
| 65 | + * @return void |
|
| 59 | 66 | */ |
| 60 | 67 | public function specifySlugIn($slug, $locale); |
| 61 | 68 | |
@@ -63,6 +70,7 @@ discard block |
||
| 63 | 70 | * @param string $attributeName |
| 64 | 71 | * @param string $value |
| 65 | 72 | * @param string $localeCode |
| 73 | + * @return void |
|
| 66 | 74 | */ |
| 67 | 75 | public function addAttribute($attributeName, $value, $localeCode); |
| 68 | 76 | |
@@ -77,39 +85,46 @@ discard block |
||
| 77 | 85 | /** |
| 78 | 86 | * @param string $attributeName |
| 79 | 87 | * @param string $localeCode |
| 88 | + * @return void |
|
| 80 | 89 | */ |
| 81 | 90 | public function removeAttribute($attributeName, $localeCode); |
| 82 | 91 | |
| 83 | 92 | /** |
| 84 | 93 | * @param string $path |
| 85 | 94 | * @param string $type |
| 95 | + * @return void |
|
| 86 | 96 | */ |
| 87 | 97 | public function attachImage($path, $type = null); |
| 88 | 98 | |
| 89 | 99 | /** |
| 90 | 100 | * @param ProductAssociationTypeInterface $productAssociationType |
| 91 | 101 | * @param string[] $productsNames |
| 102 | + * @return void |
|
| 92 | 103 | */ |
| 93 | 104 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames); |
| 94 | 105 | |
| 95 | 106 | /** |
| 96 | 107 | * @param string $productName |
| 97 | 108 | * @param ProductAssociationTypeInterface $productAssociationType |
| 109 | + * @return void |
|
| 98 | 110 | */ |
| 99 | 111 | public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType); |
| 100 | 112 | |
| 101 | 113 | /** |
| 102 | 114 | * @param string $locale |
| 115 | + * @return void |
|
| 103 | 116 | */ |
| 104 | 117 | public function activateLanguageTab($locale); |
| 105 | 118 | |
| 106 | 119 | /** |
| 107 | 120 | * @param string $shippingCategoryName |
| 121 | + * @return void |
|
| 108 | 122 | */ |
| 109 | 123 | public function selectShippingCategory($shippingCategoryName); |
| 110 | 124 | |
| 111 | 125 | /** |
| 112 | 126 | * @param bool $isShippingRequired |
| 127 | + * @return void |
|
| 113 | 128 | */ |
| 114 | 129 | public function setShippingRequired($isShippingRequired); |
| 115 | 130 | } |
@@ -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\ProductVariant; |
| 15 | 15 | |
@@ -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\ProductVariant; |
| 15 | 15 | |
@@ -22,12 +22,14 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * @param int $price |
| 24 | 24 | * @param string $channelName |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function specifyPrice($price, $channelName); |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * @param int $originalPrice |
| 30 | 31 | * @param string $channelName |
| 32 | + * @return void |
|
| 31 | 33 | */ |
| 32 | 34 | public function specifyOriginalPrice($originalPrice, $channelName); |
| 33 | 35 | |
@@ -36,33 +38,39 @@ discard block |
||
| 36 | 38 | * @param int $width |
| 37 | 39 | * @param int $depth |
| 38 | 40 | * @param int $weight |
| 41 | + * @return void |
|
| 39 | 42 | */ |
| 40 | 43 | public function specifyHeightWidthDepthAndWeight($height, $width, $depth, $weight); |
| 41 | 44 | |
| 42 | 45 | /** |
| 43 | 46 | * @param string $code |
| 47 | + * @return void |
|
| 44 | 48 | */ |
| 45 | 49 | public function specifyCode($code); |
| 46 | 50 | |
| 47 | 51 | /** |
| 48 | 52 | * @param int $currentStock |
| 53 | + * @return void |
|
| 49 | 54 | */ |
| 50 | 55 | public function specifyCurrentStock($currentStock); |
| 51 | 56 | |
| 52 | 57 | /** |
| 53 | 58 | * @param string $name |
| 54 | 59 | * @param string $language |
| 60 | + * @return void |
|
| 55 | 61 | */ |
| 56 | 62 | public function nameItIn($name, $language); |
| 57 | 63 | |
| 58 | 64 | /** |
| 59 | 65 | * @param string $optionName |
| 60 | 66 | * @param string $optionValue |
| 67 | + * @return void |
|
| 61 | 68 | */ |
| 62 | 69 | public function selectOption($optionName, $optionValue); |
| 63 | 70 | |
| 64 | 71 | /** |
| 65 | 72 | * @param string $name |
| 73 | + * @return void |
|
| 66 | 74 | */ |
| 67 | 75 | public function choosePricingCalculator($name); |
| 68 | 76 | |
@@ -73,6 +81,7 @@ discard block |
||
| 73 | 81 | |
| 74 | 82 | /** |
| 75 | 83 | * @param string $shippingCategoryName |
| 84 | + * @return void |
|
| 76 | 85 | */ |
| 77 | 86 | public function selectShippingCategory($shippingCategoryName); |
| 78 | 87 | |
@@ -83,6 +92,7 @@ discard block |
||
| 83 | 92 | |
| 84 | 93 | /** |
| 85 | 94 | * @param bool $isShippingRequired |
| 95 | + * @return void |
|
| 86 | 96 | */ |
| 87 | 97 | public function setShippingRequired($isShippingRequired); |
| 88 | 98 | } |