This commit is contained in:
antonkomarev
2020-07-12 18:54:43 +03:00
parent cf00dd637f
commit 037b1b7f39
2 changed files with 5 additions and 5 deletions

View File

@@ -51,9 +51,9 @@ final class ErrorImageRendererService
$errorImage = str_replace('%MESSAGE%', $message, $errorImage);
$errorImage = str_replace('%IMAGE_WIDTH%', $imageWidth, $errorImage);
$errorImage = str_replace('%COUNTER_BACKGROUND_WIDTH%', $counterBackgroundWidth, $errorImage);
$errorImage = str_replace('%COUNTER_TEXT_LENGTH%', $counterTextLength, $errorImage);
$errorImage = str_replace('%COUNTER_TEXT_MARGIN_LEFT%', $counterTextMarginLeft, $errorImage);
$errorImage = str_replace('%MESSAGE_BACKGROUND_WIDTH%', $counterBackgroundWidth, $errorImage);
$errorImage = str_replace('%MESSAGE_TEXT_LENGTH%', $counterTextLength, $errorImage);
$errorImage = str_replace('%MESSAGE_TEXT_MARGIN_LEFT%', $counterTextMarginLeft, $errorImage);
return $errorImage;
}