mirror of
https://github.com/antonkomarev/github-profile-views-counter.git
synced 2026-08-03 10:48:42 -04:00
Add count number format (#13)
This commit is contained in:
@@ -33,7 +33,7 @@ final class BadgeImageRendererService
|
||||
|
||||
public function renderBadgeWithCount(string $label, int $count, string $messageBackgroundFill, string $badgeStyle): string
|
||||
{
|
||||
$message = (string) $count;
|
||||
$message = number_format($count);
|
||||
|
||||
return $this->renderBadge($label, $message, $messageBackgroundFill, $badgeStyle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user