Passed
Branch master (1df74a)
by bader
04:28
created
Category
src/Traits/Kabsa.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 
8 8
 trait Kabsa
9 9
 {
10
-    public static function all($columns = [])
10
+    public static function all($columns = [ ])
11 11
     {
12 12
         self::unguard();
13 13
         $self = new self();
14
-        return Collection::make($self->rows ?? [])->map(function ($row) { return new self($row); });
14
+        return Collection::make($self->rows ?? [ ])->map(function($row) { return new self($row); });
15 15
     }
16 16
 
17 17
     public function __call($method, $parameters)
Please login to merge, or discard this patch.
src/Traits/KabsaRelationships.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
 
9 9
 trait KabsaRelationships
10 10
 {
11
-    public function belongsToKabsaRow($related,  $foreignKey = null, $ownerKey = null)
11
+    public function belongsToKabsaRow($related, $foreignKey = null, $ownerKey = null)
12 12
     {
13 13
         return new BelongsToCached($related, $this, $foreignKey, $ownerKey);
14 14
     }
15 15
 
16
-    public function hasManyKabsaRows($related,  $foreignKey = null, $ownerKey = null)
16
+    public function hasManyKabsaRows($related, $foreignKey = null, $ownerKey = null)
17 17
     {
18 18
         return new HasManyCached($related, $this, $foreignKey, $ownerKey);
19 19
     }
Please login to merge, or discard this patch.