Completed
Push — master ( cc509a...8bfdba )
by James Ekow Abaka
13s queued 11s
created
src/RecordWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
         $this->initialize();
200 200
 
201 201
         return $this->context->getCache()->read(
202
-            "{$this->className}::desc", function () {
202
+            "{$this->className}::desc", function() {
203 203
                 return $this->context->getModelDescription($this);
204 204
             }
205 205
         );
Please login to merge, or discard this patch.
src/DriverAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
     public function describe($model, $relationships)
140 140
     {
141 141
         return new ModelDescription(
142
-            $this->driver->describeTable($table)[$table], $relationships, function ($type) {
142
+            $this->driver->describeTable($table)[$table], $relationships, function($type) {
143 143
                 return $this->mapDataTypes($type);
144 144
             }
145 145
         );
Please login to merge, or discard this patch.
src/DataOperations.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -253,10 +253,10 @@
 block discarded – undo
253 253
             $mainValidatorErrors = $validator->getInvalidFields();
254 254
         }
255 255
 
256
-        if(!empty($this->wrapper->getValidationRules())) {
256
+        if (!empty($this->wrapper->getValidationRules())) {
257 257
             $modelValidator = new Validator();
258 258
             $modelValidator->setRules($this->wrapper->getValidationRules());
259
-            if(!$modelValidator->validate($data)) {
259
+            if (!$modelValidator->validate($data)) {
260 260
                 $modelValidatorErrors = $modelValidator->getInvalidFields();
261 261
             }
262 262
         }
Please login to merge, or discard this patch.