@@ -50,12 +50,12 @@ discard block |
||
50 | 50 | |
51 | 51 | abstract public function executeAction($name); |
52 | 52 | |
53 | - public function getInfo(): string|null |
|
53 | + public function getInfo(): string | null |
|
54 | 54 | { |
55 | 55 | return null; |
56 | 56 | } |
57 | 57 | |
58 | - public function getConfirmableLabel(): string|null |
|
58 | + public function getConfirmableLabel(): string | null |
|
59 | 59 | { |
60 | 60 | return 'Warning'; |
61 | 61 | } |
@@ -67,12 +67,12 @@ discard block |
||
67 | 67 | { |
68 | 68 | if ($this instanceof ConfirmableCommand) { |
69 | 69 | if ($this->isProhibited() || |
70 | - ! $this->confirmToProceed($this->getConfirmableLabel(), fn () => true)) { |
|
70 | + !$this->confirmToProceed($this->getConfirmableLabel(), fn () => true)) { |
|
71 | 71 | return 1; |
72 | 72 | } |
73 | 73 | } |
74 | 74 | |
75 | - if (! is_null($info = $this->getInfo())) { |
|
75 | + if (!is_null($info = $this->getInfo())) { |
|
76 | 76 | $this->components->info($info); |
77 | 77 | } |
78 | 78 | |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | return; |
96 | 96 | } |
97 | 97 | |
98 | - if (! empty($input->getArgument('module'))) { |
|
98 | + if (!empty($input->getArgument('module'))) { |
|
99 | 99 | return; |
100 | 100 | } |
101 | 101 |