@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function createDriverAdapter() |
| 25 | 25 | { |
| 26 | - $class = 'ntentan\nibii\adapters\\' . Text::ucamelize($this->driverName) . 'Adapter'; |
|
| 26 | + $class = 'ntentan\nibii\adapters\\'.Text::ucamelize($this->driverName).'Adapter'; |
|
| 27 | 27 | return new $class(); |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | } |
| 34 | 34 | $classes = [$classA['class'], $classB['class']]; |
| 35 | 35 | sort($classes); |
| 36 | - return "{$classA['namespace']}\\" . implode('', $classes); |
|
| 36 | + return "{$classA['namespace']}\\".implode('', $classes); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | private function getClassFileDetails($className) { |
@@ -84,8 +84,8 @@ discard block |
||
| 84 | 84 | $this->table = $table['table']; |
| 85 | 85 | $this->schema = $table['schema']; |
| 86 | 86 | } |
| 87 | - $this->quotedTable = ($this->schema ? "{$driver->quoteIdentifier($this->schema)}." : "") . $driver->quoteIdentifier($this->table); |
|
| 88 | - $this->unquotedTable = ($this->schema ? "{$this->schema}." : "") . $this->table; |
|
| 87 | + $this->quotedTable = ($this->schema ? "{$driver->quoteIdentifier($this->schema)}." : "").$driver->quoteIdentifier($this->table); |
|
| 88 | + $this->unquotedTable = ($this->schema ? "{$this->schema}." : "").$this->table; |
|
| 89 | 89 | $this->adapter->setModel($this, $this->quotedTable); |
| 90 | 90 | $this->initialized = true; |
| 91 | 91 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | { |
| 105 | 105 | $this->initialize(); |
| 106 | 106 | return $this->context->getCache()->read( |
| 107 | - "{$this->className}::desc", function () { |
|
| 107 | + "{$this->className}::desc", function() { |
|
| 108 | 108 | return $this->context->getModelDescription($this); |
| 109 | 109 | } |
| 110 | 110 | ); |