Completed
Push — master ( a1719c...63975e )
by James Ekow Abaka
06:57
created
src/UniqueValidation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         }
69 69
 
70 70
         return $this->evaluateResult(
71
-            $field, $testItem->count() === 0, "The value of " . implode(', ', $field['name']) . " must be unique"
71
+            $field, $testItem->count() === 0, "The value of ".implode(', ', $field['name'])." must be unique"
72 72
         );
73 73
     }
74 74
 
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
         foreach ($this->behaviours as $behaviour) {
91 91
             $behaviourInstance = $this->getComponentInstance($behaviour);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     {
109 109
         $this->initialize();
110 110
         return $this->context->getCache()->read(
111
-                "{$this->className}::desc", function () {
111
+                "{$this->className}::desc", function() {
112 112
                 return $this->context->getModelDescription($this);
113 113
             }
114 114
         );
Please login to merge, or discard this patch.
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.