@@ -84,7 +84,7 @@ |
||
84 | 84 | * @return bool |
85 | 85 | * @psalm-suppress MissingClosureParamType |
86 | 86 | */ |
87 | - static function ($val): bool { |
|
87 | + static function($val): bool { |
|
88 | 88 | return $val !== null; |
89 | 89 | } |
90 | 90 | ); |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public static function up(int $rows = 1): string |
36 | 36 | { |
37 | - return ConsoleColor::ESC_CHAR . "[{$rows}A"; |
|
37 | + return ConsoleColor::ESC_CHAR . "[{$rows}A"; |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
@@ -45,6 +45,6 @@ discard block |
||
45 | 45 | */ |
46 | 46 | public static function down(int $rows = 1): string |
47 | 47 | { |
48 | - return ConsoleColor::ESC_CHAR . "[{$rows}B"; |
|
48 | + return ConsoleColor::ESC_CHAR . "[{$rows}B"; |
|
49 | 49 | } |
50 | 50 | } |
@@ -74,8 +74,7 @@ |
||
74 | 74 | return |
75 | 75 | $this->supportsColor() ? |
76 | 76 | $this->checkEnvVariable(static::ENV_TERM, static::COLOR_NEEDLE) || |
77 | - $this->checkEnvVariable(static::ENV_DOCKER_TERM, static::COLOR_NEEDLE) : |
|
78 | - false; |
|
77 | + $this->checkEnvVariable(static::ENV_DOCKER_TERM, static::COLOR_NEEDLE) : false; |
|
79 | 78 | } |
80 | 79 | |
81 | 80 | /** |