@@ -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 | |
@@ -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\Shop\Cart; |
| 15 | 15 | |
@@ -25,22 +25,26 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * @param string $channelName |
| 27 | 27 | * @param int $price |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function specifyPrice($channelName, $price); |
| 30 | 31 | |
| 31 | 32 | /** |
| 32 | 33 | * @param string $channelName |
| 33 | 34 | * @param int $originalPrice |
| 35 | + * @return void |
|
| 34 | 36 | */ |
| 35 | 37 | public function specifyOriginalPrice($channelName, $originalPrice); |
| 36 | 38 | |
| 37 | 39 | /** |
| 38 | 40 | * @param string $name |
| 41 | + * @return void |
|
| 39 | 42 | */ |
| 40 | 43 | public function choosePricingCalculator($name); |
| 41 | 44 | |
| 42 | 45 | /** |
| 43 | 46 | * @param string $channelName |
| 47 | + * @return void |
|
| 44 | 48 | */ |
| 45 | 49 | public function checkChannel($channelName); |
| 46 | 50 | |
@@ -48,23 +52,27 @@ discard block |
||
| 48 | 52 | * @param int $price |
| 49 | 53 | * @param ChannelInterface $channel |
| 50 | 54 | * @param CurrencyInterface $currency |
| 55 | + * @return void |
|
| 51 | 56 | */ |
| 52 | 57 | public function specifyPriceForChannelAndCurrency($price, ChannelInterface $channel, CurrencyInterface $currency); |
| 53 | 58 | |
| 54 | 59 | /** |
| 55 | 60 | * @param string $code |
| 61 | + * @return void |
|
| 56 | 62 | */ |
| 57 | 63 | public function specifyCode($code); |
| 58 | 64 | |
| 59 | 65 | /** |
| 60 | 66 | * @param string $name |
| 61 | 67 | * @param string $localeCode |
| 68 | + * @return void |
|
| 62 | 69 | */ |
| 63 | 70 | public function nameItIn($name, $localeCode); |
| 64 | 71 | |
| 65 | 72 | /** |
| 66 | 73 | * @param string $slug |
| 67 | 74 | * @param string $locale |
| 75 | + * @return void |
|
| 68 | 76 | */ |
| 69 | 77 | public function specifySlugIn($slug, $locale); |
| 70 | 78 | |
@@ -72,45 +80,53 @@ discard block |
||
| 72 | 80 | * @param string $attributeName |
| 73 | 81 | * @param string $value |
| 74 | 82 | * @param string $localeCode |
| 83 | + * @return void |
|
| 75 | 84 | */ |
| 76 | 85 | public function addAttribute($attributeName, $value, $localeCode); |
| 77 | 86 | |
| 78 | 87 | /** |
| 79 | 88 | * @param string $attributeName |
| 80 | 89 | * @param string $localeCode |
| 90 | + * @return void |
|
| 81 | 91 | */ |
| 82 | 92 | public function removeAttribute($attributeName, $localeCode); |
| 83 | 93 | |
| 84 | 94 | /** |
| 85 | 95 | * @param string $path |
| 86 | 96 | * @param string $type |
| 97 | + * @return void |
|
| 87 | 98 | */ |
| 88 | 99 | public function attachImage($path, $type = null); |
| 89 | 100 | |
| 90 | 101 | /** |
| 91 | 102 | * @param ProductAssociationTypeInterface $productAssociationType |
| 92 | 103 | * @param string[] $productsNames |
| 104 | + * @return void |
|
| 93 | 105 | */ |
| 94 | 106 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames); |
| 95 | 107 | |
| 96 | 108 | /** |
| 97 | 109 | * @param string $productName |
| 98 | 110 | * @param ProductAssociationTypeInterface $productAssociationType |
| 111 | + * @return void |
|
| 99 | 112 | */ |
| 100 | 113 | public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType); |
| 101 | 114 | |
| 102 | 115 | /** |
| 103 | 116 | * @param string $locale |
| 117 | + * @return void |
|
| 104 | 118 | */ |
| 105 | 119 | public function activateLanguageTab($locale); |
| 106 | 120 | |
| 107 | 121 | /** |
| 108 | 122 | * @param string $shippingCategoryName |
| 123 | + * @return void |
|
| 109 | 124 | */ |
| 110 | 125 | public function selectShippingCategory($shippingCategoryName); |
| 111 | 126 | |
| 112 | 127 | /** |
| 113 | 128 | * @param bool $isShippingRequired |
| 129 | + * @return void |
|
| 114 | 130 | */ |
| 115 | 131 | public function setShippingRequired($isShippingRequired); |
| 116 | 132 | } |
@@ -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\Shop\Cart; |
| 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\Bundle\CoreBundle\OAuth; |
| 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\Bundle\ResourceBundle\Controller; |
| 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\Shop\Account; |
| 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\Context\Setup; |
| 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\Component\Core\Promotion\Checker\Rule; |
| 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\Component\Core\Promotion\Checker\Rule; |
| 15 | 15 | |