@@ -75,8 +75,8 @@ |
||
| 75 | 75 | |
| 76 | 76 | //build the ID encoder manager with configured encoder |
| 77 | 77 | $container->getDefinition(IDEncoderManager::class) |
| 78 | - ->setPublic(true) |
|
| 79 | - ->replaceArgument(0, $container->getDefinition($config['id_encoder'])); |
|
| 78 | + ->setPublic(true) |
|
| 79 | + ->replaceArgument(0, $container->getDefinition($config['id_encoder'])); |
|
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
@@ -216,10 +216,10 @@ |
||
| 216 | 216 | |
| 217 | 217 | if (!$node instanceof NodeInterface) { |
| 218 | 218 | $nodeClass = static::getClient() |
| 219 | - ->getContainer() |
|
| 220 | - ->get(DefinitionRegistry::class) |
|
| 221 | - ->getEndpoint() |
|
| 222 | - ->getClassForType($nodeType); |
|
| 219 | + ->getContainer() |
|
| 220 | + ->get(DefinitionRegistry::class) |
|
| 221 | + ->getEndpoint() |
|
| 222 | + ->getClassForType($nodeType); |
|
| 223 | 223 | |
| 224 | 224 | $node = self::getDoctrine()->getEntityManager()->getReference($nodeClass, $node); |
| 225 | 225 | } |