@@ -26,10 +26,14 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function checkValidationMessageFor($element, $message); |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @return void |
|
| 31 | + */ |
|
| 29 | 32 | public function reset(); |
| 30 | 33 | |
| 31 | 34 | /** |
| 32 | 35 | * @param string $email |
| 36 | + * @return void |
|
| 33 | 37 | */ |
| 34 | 38 | public function specifyEmail($email); |
| 35 | 39 | } |
@@ -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 | |
@@ -91,8 +91,8 @@ |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @param array $columns |
|
| 95 | - * @param array $fields |
|
| 94 | + * @param NodeElement[] $columns |
|
| 95 | + * @param string[] $fields |
|
| 96 | 96 | * |
| 97 | 97 | * @return bool |
| 98 | 98 | */ |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sylius\Behat\Service\Accessor; |
| 6 | 6 | |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | 104 | * @param int $statusCode |
| 105 | - * @param mixed $streamMock |
|
| 105 | + * @param Mock $streamMock |
|
| 106 | 106 | * |
| 107 | 107 | * @return Mock |
| 108 | 108 | */ |
@@ -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\Service\Mocker; |
| 15 | 15 | |
@@ -24,6 +24,7 @@ |
||
| 24 | 24 | * @param NotificationType $type |
| 25 | 25 | * |
| 26 | 26 | * @throws NotificationExpectationMismatchException |
| 27 | + * @return void |
|
| 27 | 28 | */ |
| 28 | 29 | public function checkNotification($message, NotificationType $type); |
| 29 | 30 | } |
@@ -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\Service; |
| 15 | 15 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * @param string $source |
| 88 | - * @param mixed $content |
|
| 88 | + * @param string $content |
|
| 89 | 89 | * |
| 90 | 90 | * @throws \RuntimeException |
| 91 | 91 | */ |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | |
| 99 | 99 | /** |
| 100 | 100 | * @param string $source |
| 101 | - * @param mixed $content |
|
| 101 | + * @param string $content |
|
| 102 | 102 | * |
| 103 | 103 | * @throws \RuntimeException |
| 104 | 104 | */ |
@@ -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\Service; |
| 15 | 15 | |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param ChannelInterface $channel |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function setChannel(ChannelInterface $channel); |
| 25 | 26 | } |
@@ -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\Service\Setter; |
| 15 | 15 | |
@@ -19,6 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * @param string $name |
| 21 | 21 | * @param string $value |
| 22 | + * @return void |
|
| 22 | 23 | */ |
| 23 | 24 | public function setCookie($name, $value); |
| 24 | 25 | } |
@@ -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\Service\Setter; |
| 15 | 15 | |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | - * @return array |
|
| 97 | + * @return \Generator |
|
| 98 | 98 | */ |
| 99 | 99 | private function getLocales() |
| 100 | 100 | { |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sylius\Component\Core\Formatter\StringInflector; |
| 18 | 18 | use Sylius\Component\Core\Model\PaymentMethodInterface; |
| 19 | 19 | use Sylius\Component\Locale\Model\LocaleInterface; |
| 20 | -use Sylius\Component\Resource\Factory\FactoryInterface; |
|
| 21 | 20 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
| 22 | 21 | use Symfony\Component\OptionsResolver\Options; |
| 23 | 22 | use Symfony\Component\OptionsResolver\OptionsResolver; |
@@ -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\Fixture\Factory; |
| 15 | 15 | |
@@ -19,6 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * @param FixtureEvent $fixtureEvent |
| 21 | 21 | * @param array $options |
| 22 | + * @return void |
|
| 22 | 23 | */ |
| 23 | 24 | public function beforeFixture(FixtureEvent $fixtureEvent, array $options); |
| 24 | 25 | } |
@@ -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\FixturesBundle\Listener; |
| 15 | 15 | |