@@ -58,7 +58,7 @@ |
||
| 58 | 58 | private $initialized = false; |
| 59 | 59 | |
| 60 | 60 | public function initialize() { |
| 61 | - if($this->initialized) return; |
|
| 61 | + if ($this->initialized) return; |
|
| 62 | 62 | $this->context = ORMContext::getInstance(); |
| 63 | 63 | $this->container = $this->context->getContainer(); |
| 64 | 64 | $this->adapter = $this->container->resolve(DriverAdapter::class); |
@@ -58,7 +58,9 @@ |
||
| 58 | 58 | private $initialized = false; |
| 59 | 59 | |
| 60 | 60 | public function initialize() { |
| 61 | - if($this->initialized) return; |
|
| 61 | + if($this->initialized) { |
|
| 62 | + return; |
|
| 63 | + } |
|
| 62 | 64 | $this->context = ORMContext::getInstance(); |
| 63 | 65 | $this->container = $this->context->getContainer(); |
| 64 | 66 | $this->adapter = $this->container->resolve(DriverAdapter::class); |