@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | { |
113 | 113 | "code": "1234" |
114 | 114 | } |
115 | -EOT; |
|
115 | +eot; |
|
116 | 116 | |
117 | 117 | $this->client->request('POST', $this->getPromotionCouponsUrl($promotion), [], [], static::$authorizedHeaderWithContentType, $data); |
118 | 118 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | "usageLimit": 10, |
138 | 138 | "perCustomerUsageLimit": 1 |
139 | 139 | } |
140 | -EOT; |
|
140 | +eot; |
|
141 | 141 | |
142 | 142 | $this->client->request('POST', $this->getPromotionCouponsUrl($promotion), [], [], static::$authorizedHeaderWithContentType, $data); |
143 | 143 | |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | "usageLimit": 30, |
239 | 239 | "perCustomerUsageLimit": 2 |
240 | 240 | } |
241 | -EOT; |
|
241 | +eot; |
|
242 | 242 | |
243 | 243 | $this->client->request('PUT', $this->getPromotionCouponUrl($promotion, $promotionCoupon), [], [], static::$authorizedHeaderWithContentType, $data); |
244 | 244 | |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | { |
297 | 297 | "usageLimit": 30 |
298 | 298 | } |
299 | -EOT; |
|
299 | +eot; |
|
300 | 300 | |
301 | 301 | $this->client->request('PATCH', $this->getPromotionCouponUrl($promotion, $promotionCoupon), [], [], static::$authorizedHeaderWithContentType, $data); |
302 | 302 |
@@ -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\Tests\Controller; |
15 | 15 |
@@ -30,11 +30,13 @@ |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * @param ProductVariantInterface $productVariant |
33 | + * @return void |
|
33 | 34 | */ |
34 | 35 | public function addProductVariant(ProductVariantInterface $productVariant); |
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param ProductVariantInterface $productVariant |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function removeProductVariant(ProductVariantInterface $productVariant); |
40 | 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\Model; |
15 | 15 |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param ShipmentInterface $shipment |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function sendConfirmationEmail(ShipmentInterface $shipment); |
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\AdminBundle\EmailManager; |
15 | 15 |
@@ -19,6 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @param array $data |
21 | 21 | * @param array $recipients |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function sendContactRequest(array $data, array $recipients); |
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\ShopBundle\EmailManager; |
15 | 15 |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param OrderInterface $order |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function sendConfirmationEmail(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\Bundle\ShopBundle\EmailManager; |
15 | 15 |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\MongoDB; |
13 | 13 | |
14 | 14 | use Doctrine\MongoDB\Query\Builder as QueryBuilder; |
15 | -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
16 | 15 | use Sylius\Component\Resource\Repository\TranslatableRepositoryInterface; |
17 | 16 | |
18 | 17 | /** |
@@ -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\Doctrine\ODM\MongoDB; |
15 | 15 |
@@ -14,7 +14,7 @@ |
||
14 | 14 | use Sylius\Component\Core\Exception\MissingChannelConfigurationException; |
15 | 15 | use Sylius\Component\Core\Model\ShipmentInterface; |
16 | 16 | use Sylius\Component\Shipping\Calculator\CalculatorInterface; |
17 | -use Sylius\Component\Shipping\Model\ShipmentInterface as BaseShipmentInterface; |
|
17 | +use Sylius\Component\Shipping\Model\ShipmentInterface as BaseShipmentInterface; |
|
18 | 18 | use Webmozart\Assert\Assert; |
19 | 19 | |
20 | 20 | /** |
@@ -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\Shipping\Calculator; |
15 | 15 |
@@ -11,15 +11,12 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\AdminApiBundle\DependencyInjection; |
13 | 13 | |
14 | -use Sylius\Bundle\AdminApiBundle\Controller\TokenController; |
|
15 | 14 | use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension; |
16 | 15 | use Symfony\Component\Config\FileLocator; |
17 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
18 | -use Symfony\Component\DependencyInjection\Definition; |
|
19 | 17 | use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; |
20 | 18 | use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; |
21 | 19 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
22 | -use Symfony\Component\DependencyInjection\Reference; |
|
23 | 20 | |
24 | 21 | /** |
25 | 22 | * @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\AdminApiBundle\DependencyInjection; |
15 | 15 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | public function load(array $config, ContainerBuilder $container): void |
35 | 35 | { |
36 | 36 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
37 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
37 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
38 | 38 | |
39 | 39 | $this->registerResources('sylius', $config['driver'], $config['resources'], $container); |
40 | 40 |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\AdminApiBundle\Fixture\Factory; |
13 | 13 | |
14 | -use FOS\OAuthServerBundle\Model\ClientManagerInterface; |
|
15 | 14 | use Sylius\Bundle\AdminApiBundle\Model\AccessTokenInterface; |
16 | 15 | use Sylius\Bundle\AdminApiBundle\Model\ClientInterface; |
17 | 16 | use Sylius\Bundle\AdminApiBundle\Model\UserInterface; |
@@ -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\AdminApiBundle\Fixture\Factory; |
15 | 15 |