Passed
Push — master ( 35e6a2...a9959a )
by Jonas
02:44
created
src/IdeHelperServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,14 +45,14 @@
 block discarded – undo
45 45
     protected function publishConfig(): void
46 46
     {
47 47
         $this->publishes([
48
-            __DIR__ . '/../config/eloquent-has-many-deep.php' => config_path('eloquent-has-many-deep.php'),
48
+            __DIR__.'/../config/eloquent-has-many-deep.php' => config_path('eloquent-has-many-deep.php'),
49 49
         ], 'eloquent-has-many-deep');
50 50
     }
51 51
 
52 52
     protected function registerConfig(): void
53 53
     {
54 54
         $this->mergeConfigFrom(
55
-            __DIR__ . '/../config/eloquent-has-many-deep.php',
55
+            __DIR__.'/../config/eloquent-has-many-deep.php',
56 56
             'eloquent-has-many-deep',
57 57
         );
58 58
     }
Please login to merge, or discard this patch.
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.