mirror of
https://github.com/antonkomarev/github-profile-views-counter.git
synced 2026-07-29 08:42:38 -04:00
Reorder variables
This commit is contained in:
@@ -49,8 +49,8 @@ final class CounterImageRendererService
|
||||
$counterTextLength = $minCounterTextLength + (80 * $countLength);
|
||||
$counterTextMarginLeft = $minCounterTextMarginLeft + (40 * $countLength);
|
||||
|
||||
$counterImage = str_replace('%COUNT%', $count, $counterImage);
|
||||
$counterImage = str_replace('%IMAGE_WIDTH%', $imageWidth, $counterImage);
|
||||
$counterImage = str_replace('%COUNT%', $count, $counterImage);
|
||||
$counterImage = str_replace('%COUNTER_BACKGROUND_WIDTH%', $counterBackgroundWidth, $counterImage);
|
||||
$counterImage = str_replace('%COUNTER_TEXT_LENGTH%', $counterTextLength, $counterImage);
|
||||
$counterImage = str_replace('%COUNTER_TEXT_MARGIN_LEFT%', $counterTextMarginLeft, $counterImage);
|
||||
|
||||
Reference in New Issue
Block a user