@@ -14,9 +14,9 @@ |
||
| 14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
| 15 | 15 | use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
| 16 | 16 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
| 17 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
| 17 | 18 | use Sylius\Component\Review\Model\ReviewableInterface; |
| 18 | 19 | use Sylius\Component\Review\Model\ReviewerInterface; |
| 19 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @author Grzegorz Sadowski <[email protected]> |
@@ -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\Remover; |
| 15 | 15 | |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param ReviewerInterface $author |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function removeReviewerReviews(ReviewerInterface $author); |
| 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\Bundle\CoreBundle\Remover; |
| 15 | 15 | |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param UserInterface $user |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function impersonate(UserInterface $user); |
| 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\Bundle\CoreBundle\Security; |
| 15 | 15 | |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Symfony\Component\Config\FileLocator; |
| 16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
| 18 | -use Symfony\Component\DependencyInjection\Reference; |
|
| 19 | 18 | |
| 20 | 19 | /** |
| 21 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -9,7 +9,7 @@ discard block |
||
| 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\OrderBundle\DependencyInjection; |
| 15 | 15 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | public function load(array $config, ContainerBuilder $container): void |
| 31 | 31 | { |
| 32 | 32 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
| 33 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 33 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 34 | 34 | |
| 35 | 35 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
| 36 | 36 | |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 17 | 17 | use Sylius\Component\Attribute\Model\AttributeInterface; |
| 18 | 18 | use Symfony\Component\Form\FormView; |
| 19 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
| 20 | 19 | use Symfony\Component\HttpFoundation\Request; |
| 21 | 20 | use Symfony\Component\HttpFoundation\Response; |
| 22 | 21 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
@@ -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 | |
@@ -22,6 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @param ChannelInterface $channel |
| 24 | 24 | * @param string $currencyCode |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function set(ChannelInterface $channel, $currencyCode); |
| 27 | 28 | |
@@ -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\Currency; |
| 15 | 15 | |
@@ -22,6 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @param CustomerInterface $customer |
| 24 | 24 | * @param AddressInterface $address |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function add(CustomerInterface $customer, AddressInterface $address); |
| 27 | 28 | } |
@@ -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\Customer; |
| 15 | 15 | |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param OrderInterface $order |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function saveAddresses(OrderInterface $order); |
| 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\Component\Core\Customer; |
| 15 | 15 | |
@@ -22,11 +22,13 @@ discard block |
||
| 22 | 22 | * @param OrderInterface $order |
| 23 | 23 | * |
| 24 | 24 | * @throws \InvalidArgumentException |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function cancel(OrderInterface $order); |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * @param OrderInterface $order |
| 31 | + * @return void |
|
| 30 | 32 | */ |
| 31 | 33 | public function hold(OrderInterface $order); |
| 32 | 34 | |
@@ -34,6 +36,7 @@ discard block |
||
| 34 | 36 | * @param OrderInterface $order |
| 35 | 37 | * |
| 36 | 38 | * @throws \InvalidArgumentException |
| 39 | + * @return void |
|
| 37 | 40 | */ |
| 38 | 41 | public function sell(OrderInterface $order); |
| 39 | 42 | } |
@@ -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\Inventory\Operator; |
| 15 | 15 | |