Passed
Push — master ( 08575b...064303 )
by Jonas
03:09
created
src/IdeHelper/DeepRelationsHook.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
         $manyRelation = !$relationship instanceof HasOneDeep;
51 51
 
52 52
         $type = $manyRelation
53
-            ? '\\' . Collection::class . '|\\' . $relationship->getRelated()::class . '[]'
54
-            : '\\' . $relationship->getRelated()::class;
53
+            ? '\\'.Collection::class.'|\\'.$relationship->getRelated()::class.'[]'
54
+            : '\\'.$relationship->getRelated()::class;
55 55
 
56 56
         $command->setProperty(
57 57
             $method->getName(),
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
         if ($manyRelation) {
66 66
             $command->setProperty(
67
-                Str::snake($method->getName()) . '_count',
67
+                Str::snake($method->getName()).'_count',
68 68
                 'int',
69 69
                 true,
70 70
                 false,
Please login to merge, or discard this patch.