Post #12 552 Mar 20, 2025, 06:58 UTC Предложение заменить статический конструктор ::tag на обычный: Div::tag -> new Div👩💻 https://github.com/yiisoft/html/issues/243#yii #html GitHub Use `new %TagClass%()` instead of `%TagClass%::tag()` · Issue #243 · yiisoft/html With PHP 8.4 (new MyClass()->method() without parentheses) single static constructor has lost its meaning. Suggestion for NormalTag, VoidTag and CustomTag: make constructor public; deprecate sta...