Completed
Pull Request — master (#1910)
by
unknown
09:39
created
src/Commands/BaseCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@  discard block
 block discarded – undo
71 71
     {
72 72
         if ($this instanceof ConfirmableCommand) {
73 73
             if ($this->isProhibited() ||
74
-                ! $this->confirmToProceed($this->getConfirmableLabel(), fn () => true)) {
74
+                !$this->confirmToProceed($this->getConfirmableLabel(), fn () => true)) {
75 75
                 return 1;
76 76
             }
77 77
         }
78 78
 
79
-        if (! is_null($info = $this->getInfo())) {
79
+        if (!is_null($info = $this->getInfo())) {
80 80
             $this->components->info($info);
81 81
         }
82 82
 
@@ -99,17 +99,17 @@  discard block
 block discarded – undo
99 99
             return;
100 100
         }
101 101
 
102
-        if (! empty($input->getArgument('module'))) {
102
+        if (!empty($input->getArgument('module'))) {
103 103
             return;
104 104
         }
105 105
 
106 106
         $selected_item = multisearch(
107 107
             label: 'Select Modules',
108
-            options: function (string $search_value) use ($modules) {
108
+            options: function(string $search_value) use ($modules) {
109 109
                 return collect([
110 110
                     self::ALL,
111 111
                     ...$modules,
112
-                ])->when(strlen($search_value) > 0, function (Collection &$modules) use ($search_value) {
112
+                ])->when(strlen($search_value) > 0, function(Collection & $modules) use ($search_value) {
113 113
                     return $modules->filter(fn ($item) => str_contains(strtolower($item), strtolower($search_value)));
114 114
                 })->values()->toArray();
115 115
             },
Please login to merge, or discard this patch.