@@ -8,10 +8,10 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace ntentan\nibii; |
| 10 | 10 | |
| 11 | +use ntentan\config\Config; |
|
| 11 | 12 | use ntentan\nibii\interfaces\ModelClassResolverInterface; |
| 12 | 13 | use ntentan\nibii\interfaces\ModelJoinerInterface; |
| 13 | 14 | use ntentan\nibii\interfaces\TableNameResolverInterface; |
| 14 | -use ntentan\config\Config; |
|
| 15 | 15 | use ntentan\utils\Text; |
| 16 | 16 | |
| 17 | 17 | /** |
@@ -67,7 +67,9 @@ |
||
| 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 | |