Passed
Push — master ( 845ff4...7a0761 )
by Bruno
03:38
created
Modelarium/Laravel/Targets/FactoryGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         }
32 32
         
33 33
         return new GeneratedCollection(
34
-            [ new GeneratedItem(
34
+            [new GeneratedItem(
35 35
                 GeneratedItem::TYPE_FACTORY,
36 36
                 $this->generateString(),
37 37
                 $this->getGenerateFilename()
@@ -50,6 +50,6 @@  discard block
 block discarded – undo
50 50
 
51 51
     public function getGenerateFilename(): string
52 52
     {
53
-        return $this->getBasePath('database/factories/'. $this->studlyName . 'Factory.php');
53
+        return $this->getBasePath('database/factories/' . $this->studlyName . 'Factory.php');
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
util/CreateDirective.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         'implements' => implode(
23 23
             ', ',
24 24
             array_map(
25
-                function ($i) {
25
+                function($i) {
26 26
                     return Str::studly($i) . 'DirectiveInterface';
27 27
                 },
28 28
                 $processors
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 }
61 61
 
62 62
 // Script example.php
63
-$longopts  = array(
63
+$longopts = array(
64 64
     "name:",
65 65
     "processors:"
66 66
 );
Please login to merge, or discard this patch.