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

This commit is contained in:
origami11@yandex.ru 2025-10-23 15:54:14 +03:00
parent 530a3b931d
commit 730a608f9b
27 changed files with 491 additions and 134 deletions

View file

@ -23,14 +23,14 @@ class Composite extends View
// $this->tal->addPreFilter(new PHPTAL_PreFilter_Normalize());
}
function set(string $key, mixed $val) {
function set(string $key, mixed $val): void {
if ($key == 'title') {
$this->setTitle($val);
}
$this->tal->set($key, $val);
}
function __set(string $key, mixed $val) {
function __set(string $key, mixed $val): void {
$this->tal->set($key, $val);
}