@@ -19,8 +19,8 @@ |
||
| 19 | 19 | use Psr\Http\Message\ResponseInterface; |
| 20 | 20 | use Psr\Http\Message\StreamInterface; |
| 21 | 21 | use Sylius\Bundle\AdminBundle\Controller\NotificationController; |
| 22 | -use Symfony\Component\HttpFoundation\Request; |
|
| 23 | 22 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 23 | +use Symfony\Component\HttpFoundation\Request; |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * @author Jan Góralski <[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 | $container->setParameter('sylius.admin.notification.enabled', $config['notifications']['enabled']); |
| 33 | 33 | $container->setParameter('sylius.admin.notification.frequency', $config['notifications']['frequency']); |
@@ -15,8 +15,8 @@ |
||
| 15 | 15 | use Sylius\Component\Product\Model\ProductOptionValueInterface; |
| 16 | 16 | use Sylius\Component\Product\Model\ProductVariantInterface; |
| 17 | 17 | use Symfony\Component\Form\DataTransformerInterface; |
| 18 | -use Symfony\Component\Form\Exception\UnexpectedTypeException; |
|
| 19 | 18 | use Symfony\Component\Form\Exception\TransformationFailedException; |
| 19 | +use Symfony\Component\Form\Exception\UnexpectedTypeException; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @internal |