@@ -61,8 +61,8 @@ discard block |
||
61 | 61 | $this->quotedTable = $driver->quoteIdentifier($table); |
62 | 62 | $this->table = $this->unquotedTable = $table; |
63 | 63 | } else { |
64 | - $this->quotedTable = ( isset($table['schema']) ? "{$driver->quoteIdentifier($table["schema"])}." : "") . $driver->quoteIdentifier($table["table"]); |
|
65 | - $this->unquotedTable = (isset($table['schema']) ? "{$table['schema']}." : "") . $table['table']; |
|
64 | + $this->quotedTable = (isset($table['schema']) ? "{$driver->quoteIdentifier($table["schema"])}." : "").$driver->quoteIdentifier($table["table"]); |
|
65 | + $this->unquotedTable = (isset($table['schema']) ? "{$table['schema']}." : "").$table['table']; |
|
66 | 66 | $this->table = $table['table']; |
67 | 67 | $this->schema = $table['schema']; |
68 | 68 | } |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | */ |
81 | 81 | public function getDescription() { |
82 | 82 | return Cache::read( |
83 | - (new \ReflectionClass($this))->getName() . '::desc', function() { |
|
83 | + (new \ReflectionClass($this))->getName().'::desc', function() { |
|
84 | 84 | return new ModelDescription($this); |
85 | 85 | } |
86 | 86 | ); |
@@ -67,7 +67,7 @@ |
||
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) throw new NibiiException("A context has not yet been initialized"); |
|
71 | 71 | return self::$instance; |
72 | 72 | } |
73 | 73 |