Passed
Push — master ( 2dfbed...0dc38a )
by Jonas
13:30
created
src/IdeHelper/JsonRelationsHook.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
     protected function addRelationship(ModelsCommand $command, ReflectionMethod $method, Relation $relationship): void
48 48
     {
49
-        $type = '\\' . Collection::class . '|\\' . $relationship->getRelated()::class . '[]';
49
+        $type = '\\'.Collection::class.'|\\'.$relationship->getRelated()::class.'[]';
50 50
 
51 51
         $command->setProperty(
52 52
             $method->getName(),
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         );
57 57
 
58 58
         $command->setProperty(
59
-            Str::snake($method->getName()) . '_count',
59
+            Str::snake($method->getName()).'_count',
60 60
             'int',
61 61
             true,
62 62
             false,
Please login to merge, or discard this patch.