Completed
Push — dev ( 2240d0...cf5568 )
by James Ekow Abaka
01:59
created
src/RecordWrapper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         $this->initialize();
212 212
 
213 213
         return $this->context->getCache()->read(
214
-            "{$this->className}::desc", function () {
214
+            "{$this->className}::desc", function() {
215 215
                 return $this->context->getModelDescription($this);
216 216
             }
217 217
         );
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
     {
447 447
         $data = $index ? $this->modelData[$index] : $this->modelData;
448 448
         $name = $relationship->getOptions()['name'];
449
-        if(isset($data[$name]))
449
+        if (isset($data[$name]))
450 450
         {
451 451
             return $data[$name];
452 452
         }
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
         }
457 457
         $query = $relationship->prepareQuery($data);
458 458
 
459
-        if($query) {
459
+        if ($query) {
460 460
             $model->fix($query);
461 461
             return $model->fetch($query);
462 462
         } else {
Please login to merge, or discard this patch.