@@ -52,7 +52,7 @@ discard block  | 
                                                    ||
| 52 | 52 | public function boot(Container $container, FinalizerInterface $finalizer): void  | 
                                                        
| 53 | 53 |      { | 
                                                        
| 54 | 54 |          $finalizer->addFinalizer(function () use ($container): void { | 
                                                        
| 55 | -            if ($container->hasInstance(ORMInterface::class)) { | 
                                                        |
| 55 | +            if ($container->hasInstance(ORMInterface::class)){ | 
                                                        |
| 56 | 56 | $container->get(ORMInterface::class)->getHeap()->clean();  | 
                                                        
| 57 | 57 | }  | 
                                                        
| 58 | 58 | });  | 
                                                        
@@ -73,7 +73,7 @@ discard block  | 
                                                    ||
| 73 | 73 |      ): ORMInterface { | 
                                                        
| 74 | 74 | $orm = new ORM($factory, $schema);  | 
                                                        
| 75 | 75 | |
| 76 | -        if ($promiseFactory !== null) { | 
                                                        |
| 76 | +        if ($promiseFactory !== null){ | 
                                                        |
| 77 | 77 | return $orm->withPromiseFactory($promiseFactory);  | 
                                                        
| 78 | 78 | }  | 
                                                        
| 79 | 79 | |
@@ -52,7 +52,8 @@ discard block  | 
                                                    ||
| 52 | 52 | public function boot(Container $container, FinalizerInterface $finalizer): void  | 
                                                        
| 53 | 53 |      { | 
                                                        
| 54 | 54 |          $finalizer->addFinalizer(function () use ($container): void { | 
                                                        
| 55 | -            if ($container->hasInstance(ORMInterface::class)) { | 
                                                        |
| 55 | + if ($container->hasInstance(ORMInterface::class))  | 
                                                        |
| 56 | +            { | 
                                                        |
| 56 | 57 | $container->get(ORMInterface::class)->getHeap()->clean();  | 
                                                        
| 57 | 58 | }  | 
                                                        
| 58 | 59 | });  | 
                                                        
@@ -73,7 +74,8 @@ discard block  | 
                                                    ||
| 73 | 74 |      ): ORMInterface { | 
                                                        
| 74 | 75 | $orm = new ORM($factory, $schema);  | 
                                                        
| 75 | 76 | |
| 76 | -        if ($promiseFactory !== null) { | 
                                                        |
| 77 | + if ($promiseFactory !== null)  | 
                                                        |
| 78 | +        { | 
                                                        |
| 77 | 79 | return $orm->withPromiseFactory($promiseFactory);  | 
                                                        
| 78 | 80 | }  | 
                                                        
| 79 | 81 | |