@@ -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 | /** |
@@ -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]> |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $this->registerResources('sylius', $config['driver'], $config['resources'], $container); |
33 | 33 |
@@ -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; |
@@ -46,7 +46,7 @@ |
||
46 | 46 | ->setHelp(<<<EOT |
47 | 47 | The <info>%command.name%</info>command creates a new client. |
48 | 48 | <info>php %command.full_name% [--redirect-uri=...] [--grant-type=...] name</info> |
49 | -EOT |
|
49 | +eot |
|
50 | 50 | ); |
51 | 51 | } |
52 | 52 |
@@ -127,7 +127,7 @@ |
||
127 | 127 | */ |
128 | 128 | private function getPaymentMethods(PaymentInterface $payment, $locale) |
129 | 129 | { |
130 | - $paymentMethods = $this->paymentMethodResolver->getSupportedMethods($payment); |
|
130 | + $paymentMethods = $this->paymentMethodResolver->getSupportedMethods($payment); |
|
131 | 131 | |
132 | 132 | $rawPaymentMethods = []; |
133 | 133 |
@@ -136,7 +136,7 @@ |
||
136 | 136 | */ |
137 | 137 | private function getCalculatedShippingMethods(ShipmentInterface $shipment, $locale) |
138 | 138 | { |
139 | - $shippingMethods = $this->shippingMethodsResolver->getSupportedMethods($shipment); |
|
139 | + $shippingMethods = $this->shippingMethodsResolver->getSupportedMethods($shipment); |
|
140 | 140 | |
141 | 141 | $rawShippingMethods = []; |
142 | 142 |