Предложение заменить статический конструктор ::tag на обычный: Div::tag -> new Div
👩💻 https://github.com/yiisoft/html/issues/243
#yii #html
#yii #html
Please open Telegram to view this post
VIEW IN TELEGRAM
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...