fix: Аннотации к типам.

This commit is contained in:
origami11@yandex.ru 2025-11-05 11:01:56 +03:00
parent f07a668b30
commit 540805ae35
3 changed files with 24 additions and 6 deletions

View file

@ -129,6 +129,21 @@ class TemplateImage
return "";
}
/**
* @param string $text
* @param object{
* fontFamily: string,
* fontSize: int,
* fontStyle: array{string, string},
* color: string,
* align: array,
* valign: array,
* left: int,
* top: int,
* width: int,
* height: int
* } $value
*/
function imageText(string $text, object $value): void
{
$text = strtr($text, $this->context);