Completed
Push — master ( 4931d3...9cb207 )
by Anton
03:53
created
src/Bootloader/Cycle/CycleBootloader.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.