@@ -23,6 +23,7 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * @param string $name |
| 25 | 25 | * @param string $language |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function changeName($name, $language); |
| 28 | 29 | |
@@ -39,6 +40,7 @@ discard block |
||
| 39 | 40 | /** |
| 40 | 41 | * @param string $oldValue |
| 41 | 42 | * @param string $newValue |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function changeAttributeValue(string $oldValue, string $newValue): void; |
| 44 | 46 | |
@@ -51,11 +53,13 @@ discard block |
||
| 51 | 53 | |
| 52 | 54 | /** |
| 53 | 55 | * @param string $value |
| 56 | + * @return void |
|
| 54 | 57 | */ |
| 55 | 58 | public function addAttributeValue(string $value): void; |
| 56 | 59 | |
| 57 | 60 | /** |
| 58 | 61 | * @param string $value |
| 62 | + * @return void |
|
| 59 | 63 | */ |
| 60 | 64 | public function deleteAttributeValue(string $value): void; |
| 61 | 65 | } |
@@ -26,6 +26,7 @@ discard block |
||
| 26 | 26 | { |
| 27 | 27 | /** |
| 28 | 28 | * @throws ElementNotFoundException |
| 29 | + * @return void |
|
| 29 | 30 | */ |
| 30 | 31 | public function addToCart(); |
| 31 | 32 | |
@@ -33,6 +34,7 @@ discard block |
||
| 33 | 34 | * @param string $quantity |
| 34 | 35 | * |
| 35 | 36 | * @throws ElementNotFoundException |
| 37 | + * @return void |
|
| 36 | 38 | */ |
| 37 | 39 | public function addToCartWithQuantity($quantity); |
| 38 | 40 | |
@@ -40,6 +42,7 @@ discard block |
||
| 40 | 42 | * @param string $variant |
| 41 | 43 | * |
| 42 | 44 | * @throws ElementNotFoundException |
| 45 | + * @return void |
|
| 43 | 46 | */ |
| 44 | 47 | public function addToCartWithVariant($variant); |
| 45 | 48 | |
@@ -48,6 +51,7 @@ discard block |
||
| 48 | 51 | * @param string $optionValue |
| 49 | 52 | * |
| 50 | 53 | * @throws ElementNotFoundException |
| 54 | + * @return void |
|
| 51 | 55 | */ |
| 52 | 56 | public function addToCartWithOption(ProductOptionInterface $option, $optionValue); |
| 53 | 57 | |
@@ -63,6 +67,7 @@ discard block |
||
| 63 | 67 | |
| 64 | 68 | /** |
| 65 | 69 | * @param string $url |
| 70 | + * @return void |
|
| 66 | 71 | */ |
| 67 | 72 | public function visit($url); |
| 68 | 73 | |
@@ -74,7 +79,7 @@ discard block |
||
| 74 | 79 | public function getAttributeByName(string $name): ?string; |
| 75 | 80 | |
| 76 | 81 | /** |
| 77 | - * @return array |
|
| 82 | + * @return \Behat\Mink\Element\NodeElement[] |
|
| 78 | 83 | */ |
| 79 | 84 | public function getAttributes(); |
| 80 | 85 | |
@@ -87,6 +92,7 @@ discard block |
||
| 87 | 92 | |
| 88 | 93 | /** |
| 89 | 94 | * @param int $timeout |
| 95 | + * @return void |
|
| 90 | 96 | */ |
| 91 | 97 | public function waitForValidationErrors($timeout); |
| 92 | 98 | |
@@ -130,11 +136,13 @@ discard block |
||
| 130 | 136 | /** |
| 131 | 137 | * @param string $optionName |
| 132 | 138 | * @param string $optionValue |
| 139 | + * @return void |
|
| 133 | 140 | */ |
| 134 | 141 | public function selectOption($optionName, $optionValue); |
| 135 | 142 | |
| 136 | 143 | /** |
| 137 | 144 | * @param string $variantName |
| 145 | + * @return void |
|
| 138 | 146 | */ |
| 139 | 147 | public function selectVariant($variantName); |
| 140 | 148 | |
@@ -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\Product\Repository; |
| 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\ProductBundle\Doctrine\ORM; |
| 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\ProductBundle\EventListener; |
| 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 spec\Sylius\Bundle\ProductBundle\EventListener; |
| 15 | 15 | |