|
@@ -34,13 +34,13 @@ |
|
|
block discarded – undo |
|
34
|
34
|
} |
|
35
|
35
|
|
|
36
|
36
|
#[Override] |
|
37
|
|
- public function error(array|string $message, bool $onlyPercentage = false): void |
|
|
37
|
+ public function error(array | string $message, bool $onlyPercentage = false): void |
|
38
|
38
|
{ |
|
39
|
39
|
$this->block($message, ($onlyPercentage ? null : 'ERROR'), 'fg=white;bg=red', ' ', true); |
|
40
|
40
|
} |
|
41
|
41
|
|
|
42
|
42
|
#[Override] |
|
43
|
|
- public function success(array|string $message, bool $onlyPercentage = false): void |
|
|
43
|
+ public function success(array | string $message, bool $onlyPercentage = false): void |
|
44
|
44
|
{ |
|
45
|
45
|
$this->block($message, ($onlyPercentage ? null : 'OK'), 'fg=black;bg=green', ' ', true); |
|
46
|
46
|
} |
Please login to merge, or discard this patch.