Passed
Push — master ( 81d2d7...2ca0db )
by Jonas
10:40
created
src/HasRelationships.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     protected function hasOneOrManyDeepThroughParents(array $through)
102 102
     {
103
-        return array_map(function ($class) {
103
+        return array_map(function($class) {
104 104
             $segments = preg_split('/\s+(as|from)\s+/i', $class, -1, PREG_SPLIT_DELIM_CAPTURE);
105 105
 
106 106
             $instance = str_contains($segments[0], '\\')
Please login to merge, or discard this patch.
src/Traits/ReversesRelationships.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
             if ($throughParent instanceof Pivot) {
51 51
                 if (isset($segments[1])) {
52
-                    $class = $throughParent::class . " as $segments[1]";
52
+                    $class = $throughParent::class." as $segments[1]";
53 53
                 } else {
54 54
                     $class = $table;
55 55
                 }
Please login to merge, or discard this patch.