Completed
Push — master ( 39353a...3c7bbd )
by
unknown
09:50 queued 11s
created
src/Commands/Make/ModelMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
     {
170 170
         $fillable = $this->option('fillable');
171 171
 
172
-        if (! is_null($fillable)) {
172
+        if (!is_null($fillable)) {
173 173
             $arrays = explode(',', $fillable);
174 174
 
175 175
             return json_encode($arrays);
Please login to merge, or discard this patch.
src/Commands/Make/TraitMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,12 +53,12 @@
 block discarded – undo
53 53
         ];
54 54
     }
55 55
 
56
-    protected function getTraitName(): array|string
56
+    protected function getTraitName(): array | string
57 57
     {
58 58
         return Str::studly($this->argument('name'));
59 59
     }
60 60
 
61
-    private function getClassNameWithoutNamespace(): array|string
61
+    private function getClassNameWithoutNamespace(): array | string
62 62
     {
63 63
         return class_basename($this->getTraitName());
64 64
     }
Please login to merge, or discard this patch.
src/Commands/Make/GeneratorCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,14 +40,14 @@
 block discarded – undo
40 40
     {
41 41
         $path = str_replace('\\', '/', $this->getDestinationFilePath());
42 42
 
43
-        if (! $this->laravel['files']->isDirectory($dir = dirname($path))) {
43
+        if (!$this->laravel['files']->isDirectory($dir = dirname($path))) {
44 44
             $this->laravel['files']->makeDirectory($dir, 0777, true);
45 45
         }
46 46
 
47 47
         $contents = $this->getTemplateContents();
48 48
 
49 49
         try {
50
-            $this->components->task("Generating file {$path}", function () use ($path, $contents) {
50
+            $this->components->task("Generating file {$path}", function() use ($path, $contents) {
51 51
                 $overwriteFile = $this->hasOption('force') ? $this->option('force') : false;
52 52
                 (new FileGenerator($path, $contents))->withFileOverwrite($overwriteFile)->generate();
53 53
             });
Please login to merge, or discard this patch.
src/Commands/Make/EnumMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,12 +53,12 @@
 block discarded – undo
53 53
         ];
54 54
     }
55 55
 
56
-    protected function getEnumName(): array|string
56
+    protected function getEnumName(): array | string
57 57
     {
58 58
         return Str::studly($this->argument('name'));
59 59
     }
60 60
 
61
-    private function getClassNameWithoutNamespace(): array|string
61
+    private function getClassNameWithoutNamespace(): array | string
62 62
     {
63 63
         return class_basename($this->getEnumName());
64 64
     }
Please login to merge, or discard this patch.
src/Commands/Make/InterfaceMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,12 +53,12 @@
 block discarded – undo
53 53
         ];
54 54
     }
55 55
 
56
-    protected function getInterfaceName(): array|string
56
+    protected function getInterfaceName(): array | string
57 57
     {
58 58
         return Str::studly($this->argument('name'));
59 59
     }
60 60
 
61
-    private function getClassNameWithoutNamespace(): array|string
61
+    private function getClassNameWithoutNamespace(): array | string
62 62
     {
63 63
         return class_basename($this->getInterfaceName());
64 64
     }
Please login to merge, or discard this patch.
src/Commands/Make/RepositoryMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,12 +54,12 @@
 block discarded – undo
54 54
         ];
55 55
     }
56 56
 
57
-    protected function getRepositoryName(): array|string
57
+    protected function getRepositoryName(): array | string
58 58
     {
59 59
         return Str::studly($this->argument('name'));
60 60
     }
61 61
 
62
-    private function getClassNameWithoutNamespace(): array|string
62
+    private function getClassNameWithoutNamespace(): array | string
63 63
     {
64 64
         return class_basename($this->getRepositoryName());
65 65
     }
Please login to merge, or discard this patch.
src/Commands/Make/ExceptionMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,12 +55,12 @@
 block discarded – undo
55 55
         ];
56 56
     }
57 57
 
58
-    protected function getExceptionName(): array|string
58
+    protected function getExceptionName(): array | string
59 59
     {
60 60
         return Str::studly($this->argument('name'));
61 61
     }
62 62
 
63
-    private function getClassNameWithoutNamespace(): array|string
63
+    private function getClassNameWithoutNamespace(): array | string
64 64
     {
65 65
         return class_basename($this->getExceptionName());
66 66
     }
Please login to merge, or discard this patch.
src/Commands/Make/EventProviderMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@
 block discarded – undo
52 52
         ];
53 53
     }
54 54
 
55
-    protected function getEventServiceProviderName(): array|string
55
+    protected function getEventServiceProviderName(): array | string
56 56
     {
57 57
         return Str::studly('EventServiceProvider');
58 58
     }
59 59
 
60
-    private function getClassNameWithoutNamespace(): array|string
60
+    private function getClassNameWithoutNamespace(): array | string
61 61
     {
62 62
         return class_basename($this->getEventServiceProviderName());
63 63
     }
Please login to merge, or discard this patch.
src/Commands/Make/ModuleMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
                 ->setComponent($this->components)
44 44
                 ->setForce($this->option('force'))
45 45
                 ->setType($this->getModuleType())
46
-                ->setActive(! $this->option('disabled'))
46
+                ->setActive(!$this->option('disabled'))
47 47
                 ->setVendor($this->option('author-vendor'))
48 48
                 ->setAuthor($this->option('author-name'), $this->option('author-email'))
49 49
                 ->generate();
Please login to merge, or discard this patch.