@@ -61,7 +61,7 @@ |
||
61 | 61 | private $initialized = false; |
62 | 62 | |
63 | 63 | protected function initialize() { |
64 | - if($this->initialized) return; |
|
64 | + if ($this->initialized) return; |
|
65 | 65 | $this->context = ORMContext::getInstance(); |
66 | 66 | $this->container = $this->context->getContainer(); |
67 | 67 | $this->adapter = $this->container->resolve(DriverAdapter::class); |
@@ -61,7 +61,9 @@ |
||
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); |