chore: Аннотации к типам

This commit is contained in:
origami11@yandex.ru 2025-10-30 12:59:36 +03:00
parent 5e8958969f
commit f964472e62
28 changed files with 140 additions and 36 deletions

View file

@ -13,11 +13,13 @@ class Field
/** @var string */
public $label; // Метка поля
/** @var mixed */
public $value; // Значение поля
/** @var string */
public $type = ""; // Каждому типу элемента соответствует макрос TAL
/** @var ?string */
public $error_msg = null;
/** @var ?mixed */
public $default = null;
/** @var bool */
public $error = false;