Completed
Push — master ( f610fc...1099ae )
by James Ekow Abaka
01:41
created
src/factories/DriverAdapterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/factories/DefaultModelFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/RecordWrapper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         );
Please login to merge, or discard this patch.