Completed
Push — master ( 6a1a20...7fd5f6 )
by James Ekow Abaka
02:27
created
src/ORMContext.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@
 block discarded – undo
67 67
     }
68 68
     
69 69
     public static function getInstance() {
70
-        if(self::$instance === null) throw new NibiiException("A context has not yet been initialized");
70
+        if(self::$instance === null) {
71
+            throw new NibiiException("A context has not yet been initialized");
72
+        }
71 73
         return self::$instance;
72 74
     }
73 75
     
Please login to merge, or discard this patch.
src/RecordWrapper.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,9 @@
 block discarded – undo
61 61
     private $initialized = false;
62 62
 
63 63
     protected function initialize() {
64
-        if($this->initialized) return;
64
+        if($this->initialized) {
65
+            return;
66
+        }
65 67
         $this->context = ORMContext::getInstance();
66 68
         $this->container = $this->context->getContainer();
67 69
         $this->adapter = $this->container->resolve(DriverAdapter::class);
Please login to merge, or discard this patch.