@@ -71,7 +71,7 @@ |
||
71 | 71 | ) { |
72 | 72 | $this->channelFactory = $channelFactory; |
73 | 73 | $this->localeRepository = $localeRepository; |
74 | - $this->currencyRepository= $currencyRepository; |
|
74 | + $this->currencyRepository = $currencyRepository; |
|
75 | 75 | $this->zoneRepository = $zoneRepository; |
76 | 76 | |
77 | 77 | $this->faker = \Faker\Factory::create(); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public function load(array $configs, ContainerBuilder $container) |
28 | 28 | { |
29 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
29 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
30 | 30 | $loader->load('services.xml'); |
31 | 31 | } |
32 | 32 | } |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | { |
29 | 29 | $client = self::createClient(); |
30 | 30 | |
31 | - $crawler = $client->request('GET', '/template/'.$templateName); |
|
31 | + $crawler = $client->request('GET', '/template/' . $templateName); |
|
32 | 32 | $this->assertEquals($contents, trim($crawler->text())); |
33 | 33 | } |
34 | 34 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | { |
57 | 57 | $client = self::createClient(); |
58 | 58 | |
59 | - $crawler = $client->request('GET', '/template/'.$templateName); |
|
59 | + $crawler = $client->request('GET', '/template/' . $templateName); |
|
60 | 60 | $this->assertEquals($contents, trim($crawler->text())); |
61 | 61 | } |
62 | 62 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | { |
85 | 85 | $client = self::createClient(); |
86 | 86 | |
87 | - $crawler = $client->request('GET', '/template/'.$templateName); |
|
87 | + $crawler = $client->request('GET', '/template/' . $templateName); |
|
88 | 88 | $this->assertEquals($contents, trim($crawler->text())); |
89 | 89 | } |
90 | 90 | |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | { |
111 | 111 | $client = self::createClient(); |
112 | 112 | |
113 | - $crawler = $client->request('GET', '/template/'.$templateName); |
|
113 | + $crawler = $client->request('GET', '/template/' . $templateName); |
|
114 | 114 | $this->assertEquals($contents, trim($crawler->text())); |
115 | 115 | } |
116 | 116 |
@@ -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 |
@@ -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 | } |
@@ -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 | } |
@@ -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 | } |
@@ -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 | /** |
@@ -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 | /** |