@@ -46,7 +46,7 @@ |
||
| 46 | 46 | ->setDescription('Sylius configuration setup.') |
| 47 | 47 | ->setHelp(<<<EOT |
| 48 | 48 | The <info>%command.name%</info> command allows user to configure basic Sylius data. |
| 49 | -EOT |
|
| 49 | +eot |
|
| 50 | 50 | ) |
| 51 | 51 | ; |
| 52 | 52 | } |
@@ -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\Command; |
| 15 | 15 | |
@@ -159,7 +159,7 @@ |
||
| 159 | 159 | * @param InputInterface $input |
| 160 | 160 | * @param OutputInterface $output |
| 161 | 161 | * |
| 162 | - * @return mixed |
|
| 162 | + * @return string|null |
|
| 163 | 163 | */ |
| 164 | 164 | private function getAdministratorPassword(InputInterface $input, OutputInterface $output) |
| 165 | 165 | { |
@@ -19,9 +19,9 @@ |
||
| 19 | 19 | use Symfony\Component\Console\Output\OutputInterface; |
| 20 | 20 | use Symfony\Component\Console\Question\Question; |
| 21 | 21 | use Symfony\Component\Console\Style\SymfonyStyle; |
| 22 | +use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
| 22 | 23 | use Symfony\Component\Validator\Constraints\Email; |
| 23 | 24 | use Symfony\Component\Validator\Constraints\NotBlank; |
| 24 | -use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
| 25 | 25 | use Webmozart\Assert\Assert; |
| 26 | 26 | |
| 27 | 27 | /** |
@@ -13,9 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | 15 | use Behat\Mink\Element\NodeElement; |
| 16 | +use Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
| 16 | 17 | use Sylius\Behat\Page\Shop\Product\IndexPageInterface; |
| 17 | 18 | use Sylius\Behat\Page\Shop\Product\ShowPageInterface; |
| 18 | -use Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
| 19 | 19 | use Sylius\Component\Core\Model\ProductInterface; |
| 20 | 20 | use Sylius\Component\Core\Model\TaxonInterface; |
| 21 | 21 | use Webmozart\Assert\Assert; |
@@ -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\Ui\Shop; |
| 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\TaxRate; |
| 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\Form\Type\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\Bundle\ProductBundle\Form\Type; |
| 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\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\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\Product; |
| 15 | 15 | |
@@ -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\Behat\Page\Admin\ProductAttribute; |
| 15 | 15 | |