Skip to content

Commit

Permalink
Fix Str::line defect
Browse files Browse the repository at this point in the history
  • Loading branch information
ddebowczyk committed Oct 20, 2024
1 parent 720de6f commit 8595e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/Cli/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static private function toColumn(int $chars, mixed $text, int $align, string|arr
// ? '…'.substr($short,1)
// : substr($short, 0, -1).'…';
// }
$short = Str::limit($text, $chars, $align);
$short = Str::limit($text, $chars, '', $align);
return self::color($color, str_pad($short, $chars, ' ', $align));
}

Expand Down

0 comments on commit 8595e92

Please sign in to comment.