@@ -216,10 +216,10 @@  | 
                                                    ||
| 216 | 216 | |
| 217 | 217 |          if ($node instanceof NodeInterface) { | 
                                                        
| 218 | 218 | $nodeType = static::getClient()  | 
                                                        
| 219 | - ->getContainer()  | 
                                                        |
| 220 | - ->get(DefinitionRegistry::class)  | 
                                                        |
| 221 | - ->getEndpoint()  | 
                                                        |
| 222 | - ->getTypeForClass(ClassUtils::getClass($node));  | 
                                                        |
| 219 | + ->getContainer()  | 
                                                        |
| 220 | + ->get(DefinitionRegistry::class)  | 
                                                        |
| 221 | + ->getEndpoint()  | 
                                                        |
| 222 | + ->getTypeForClass(ClassUtils::getClass($node));  | 
                                                        |
| 223 | 223 | |
| 224 | 224 | $node = $node->getId();  | 
                                                        
| 225 | 225 | }  | 
                                                        
@@ -259,7 +259,7 @@  | 
                                                    ||
| 259 | 259 | |
| 260 | 260 | /** @var Response $response */  | 
                                                        
| 261 | 261 | $response = static::getClient()->getResponse();  | 
                                                        
| 262 | - $bg = $response->getStatusCode() >= 400 ? 41: 42;  | 
                                                        |
| 262 | + $bg = $response->getStatusCode() >= 400 ? 41 : 42;  | 
                                                        |
| 263 | 263 |              print_r("\033[{$bg}m-------------------- RESPONSE ----------------------\n\n\033[0m"); | 
                                                        
| 264 | 264 |              print_r(sprintf("STATUS: [%s] %s \n", $response->getStatusCode(), Response::$statusTexts[$response->getStatusCode()] ?? 'Unknown Status')); | 
                                                        
| 265 | 265 |              print_r(sprintf("TIME: %s ms \n\n", self::$lastQueryExecutionTime)); | 
                                                        
@@ -51,10 +51,10 @@  | 
                                                    ||
| 51 | 51 | $id = ID::createFromString($id);  | 
                                                        
| 52 | 52 | $databaseId = $id->getDatabaseId();  | 
                                                        
| 53 | 53 | $class = static::getClient()  | 
                                                        
| 54 | - ->getContainer()  | 
                                                        |
| 55 | - ->get(DefinitionRegistry::class)  | 
                                                        |
| 56 | - ->getEndpoint()  | 
                                                        |
| 57 | - ->getClassForType($id->getNodeType());  | 
                                                        |
| 54 | + ->getContainer()  | 
                                                        |
| 55 | + ->get(DefinitionRegistry::class)  | 
                                                        |
| 56 | + ->getEndpoint()  | 
                                                        |
| 57 | + ->getClassForType($id->getNodeType());  | 
                                                        |
| 58 | 58 | |
| 59 | 59 | return static::getRepository($class)->find($databaseId);  | 
                                                        
| 60 | 60 | }  |