@@ -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 | ); |
@@ -210,8 +210,7 @@ |
||
| 210 | 210 | return |
| 211 | 211 | $this->supportsColor() ? |
| 212 | 212 | $this->checkFor256ColorSupport(static::ENV_TERM) || |
| 213 | - $this->checkFor256ColorSupport(static::ENV_DOCKER_TERM) : |
|
| 214 | - false; |
|
| 213 | + $this->checkFor256ColorSupport(static::ENV_DOCKER_TERM) : false; |
|
| 215 | 214 | } |
| 216 | 215 | |
| 217 | 216 | /** |
@@ -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 | } |