@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | throw new LenevorException(static::error("Invalid CLI foreground color: {$foreground}.")); |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | - if ( $background !== null && ! Arr::exists(static::$backgroundColors, $background)) { |
|
| 201 | + if ($background !== null && ! Arr::exists(static::$backgroundColors, $background)) { |
|
| 202 | 202 | throw new LenevorException(static::error("Invalid CLI background color: {$background}.")); |
| 203 | 203 | } |
| 204 | 204 | |
@@ -330,9 +330,9 @@ discard block |
||
| 330 | 330 | |
| 331 | 331 | $first = true; |
| 332 | 332 | |
| 333 | - array_walk ($lines, function (&$line, $index) use ($pad_left, &$first) { |
|
| 333 | + array_walk($lines, function(&$line, $index) use ($pad_left, &$first) { |
|
| 334 | 334 | if ( ! $first) { |
| 335 | - $line = str_repeat(' ', $pad_left) . $line; |
|
| 335 | + $line = str_repeat(' ', $pad_left).$line; |
|
| 336 | 336 | } else { |
| 337 | 337 | $first = false; |
| 338 | 338 | } |
@@ -708,7 +708,7 @@ discard block |
||
| 708 | 708 | } |
| 709 | 709 | |
| 710 | 710 | $table = ''; |
| 711 | - $cols = ''; |
|
| 711 | + $cols = ''; |
|
| 712 | 712 | |
| 713 | 713 | for ($row = 0; $row < $rows; $row++) { |
| 714 | 714 | if (0 === $row) { |