@@ -33,7 +33,7 @@ |
||
| 33 | 33 | $handler->setArguments([new Reference('doctrine')]); |
| 34 | 34 | |
| 35 | 35 | $container->getDefinition('serializer.normalizer.object') |
| 36 | - ->addMethodCall('setCircularReferenceHandler', [[$handler, 'handle']]); |
|
| 36 | + ->addMethodCall('setCircularReferenceHandler', [[$handler, 'handle']]); |
|
| 37 | 37 | |
| 38 | 38 | $normalizer = new DefinitionDecorator('serializer.normalizer.object'); |
| 39 | 39 | $normalizer->setClass(DoctrineObjectNormalizer::class); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | return; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../../Resources/config')); |
|
| 24 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../../Resources/config')); |
|
| 25 | 25 | $loader->load('doctrine.yml'); |
| 26 | 26 | |
| 27 | 27 | $factory = $container->getDefinition('cruds.factory.reflection'); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | $classMetadata = $this->delegate->loadMetadataForClass($class); |
| 16 | 16 | |
| 17 | 17 | // Abort if the given class is not a mapped entity |
| 18 | - if ( ! $doctrineMetadata = $this->tryLoadingDoctrineMetadata($class->name)) { |
|
| 18 | + if (!$doctrineMetadata = $this->tryLoadingDoctrineMetadata($class->name)) { |
|
| 19 | 19 | return $classMetadata; |
| 20 | 20 | } |
| 21 | 21 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | throw new EntityProcessingException( |
| 41 | 41 | 'Data for the entity is not valid', |
| 42 | 42 | array_map( |
| 43 | - function (ConstraintViolationInterface $violation) { |
|
| 43 | + function(ConstraintViolationInterface $violation) { |
|
| 44 | 44 | return $violation->getMessage(); |
| 45 | 45 | }, |
| 46 | 46 | iterator_to_array($list) |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | return; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../../Resources/config')); |
|
| 24 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../../Resources/config')); |
|
| 25 | 25 | $loader->load('doctrine.yml'); |
| 26 | 26 | |
| 27 | 27 | $factory = $container->getDefinition('cruds.factory.reflection'); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | return; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../../Resources/config')); |
|
| 24 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../../Resources/config')); |
|
| 25 | 25 | $loader->load('doctrine.yml'); |
| 26 | 26 | |
| 27 | 27 | $factory = $container->getDefinition('cruds.factory.reflection'); |