@@ -43,7 +43,7 @@ |
||
| 43 | 43 | 'excluded_fields' => [], |
| 44 | 44 | ]); |
| 45 | 45 | |
| 46 | - $resolver->setNormalizer('data_class', function (Options $options, $value) { |
|
| 46 | + $resolver->setNormalizer('data_class', function(Options $options, $value) { |
|
| 47 | 47 | if (empty($value)) { |
| 48 | 48 | throw new \RuntimeException(sprintf('Missing "data_class" option of "AutoFormType".')); |
| 49 | 49 | } |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | return $this->defaultFormManipulator; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - $config = Setup::createAnnotationMetadataConfiguration([__DIR__ . '/../Fixtures/Entity'], true, null, null, false); |
|
| 50 | + $config = Setup::createAnnotationMetadataConfiguration([__DIR__.'/../Fixtures/Entity'], true, null, null, false); |
|
| 51 | 51 | $entityManager = EntityManager::create(['driver' => 'pdo_sqlite'], $config); |
| 52 | 52 | $doctrineInfo = new \A2lix\AutoFormBundle\ObjectInfo\DoctrineInfo($entityManager->getMetadataFactory()); |
| 53 | 53 | |