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

This commit is contained in:
origami11@yandex.ru 2025-10-22 17:48:37 +03:00
parent e2ba6bd46e
commit e5713e9015
28 changed files with 305 additions and 110 deletions

View file

@ -3,6 +3,7 @@
namespace ctiso\View;
use ctiso\View\View,
PHPTAL;
use PHPTAL_TranslationService;
class Composite extends View
{
@ -39,7 +40,7 @@ class Composite extends View
return $this->tal->execute();
}
function setTranslator($t): void {
function setTranslator(PHPTAL_TranslationService $t): void {
$this->tal->setTranslator($t);
}
}