@@ -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 | /** |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * @return bool |
| 93 | 93 | * @psalm-suppress MissingClosureParamType |
| 94 | 94 | */ |
| 95 | - static function ($val): bool { |
|
| 95 | + static function($val): bool { |
|
| 96 | 96 | return $val !== null; |
| 97 | 97 | } |
| 98 | 98 | ); |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | throw new InvalidStyleException($style); |
| 243 | 243 | } |
| 244 | 244 | } |
| 245 | - if(\array_key_exists($name, $this->themes) && false === $override) { |
|
| 245 | + if (\array_key_exists($name, $this->themes) && false === $override) { |
|
| 246 | 246 | throw new \RuntimeException('Theme [' . $name . '] is already set.'); |
| 247 | 247 | } |
| 248 | 248 | $this->themes[$name] = $styles; |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | * @method green(string $text) |
| 16 | 16 | * @method cyan(string $text) |
| 17 | 17 | * @method magenta(string $text) |
| 18 | - |
|
| 19 | 18 | * @method italic(string $text) |
| 20 | 19 | * @method bold(string $text) |
| 21 | 20 | * @method dark(string $text) |