Completed
Pull Request — master (#1990)
by
unknown
09:01
created
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.
src/Commands/Make/ServiceMakeCommand.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 getServiceName(): array|string
57
+    protected function getServiceName(): 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->getServiceName());
65 65
     }
Please login to merge, or discard this patch.
src/Commands/Make/ActionMakeCommand.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 getActionName(): array|string
57
+    protected function getActionName(): 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->getActionName());
65 65
     }
Please login to merge, or discard this patch.
src/Commands/Make/ScopeMakeCommand.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 getScopeName(): array|string
56
+    protected function getScopeName(): 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->getScopeName());
64 64
     }
Please login to merge, or discard this patch.
src/Commands/Make/CastMakeCommand.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 getCastName(): array|string
56
+    protected function getCastName(): 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->getCastName());
64 64
     }
Please login to merge, or discard this patch.
src/Commands/Make/HelperMakeCommand.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 getHelperName(): array|string
57
+    protected function getHelperName(): 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->getHelperName());
65 65
     }
Please login to merge, or discard this patch.
src/Commands/Database/MigrateResetCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
         $database = $this->option('database');
35 35
 
36
-        if (! empty($database)) {
36
+        if (!empty($database)) {
37 37
             $migrator->setDatabase($database);
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/Commands/Database/SeedCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $module = $this->getModuleModel($name);
37 37
 
38
-        $this->components->task("Seeding <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) {
38
+        $this->components->task("Seeding <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) {
39 39
             try {
40 40
                 $this->moduleSeed($module);
41 41
             } catch (\Error $e) {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     public function getModuleRepository(): RepositoryInterface
65 65
     {
66 66
         $modules = $this->laravel['modules'];
67
-        if (! $modules instanceof RepositoryInterface) {
67
+        if (!$modules instanceof RepositoryInterface) {
68 68
             throw new RuntimeException('Module repository not found!');
69 69
         }
70 70
 
Please login to merge, or discard this patch.