You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mskocik
changed the title
Incorrect argument type definition in addHtml and addText methods
Incorrect argument type definition in addHtml methods
Jun 13, 2024
Version: latest
Bug Description
Method
addHtml()
hasmixed
type definition, which is incorrect. In fact it really expectsHtmlStringable|string
, because of inner call of->insert()
.The same applies toaddText()
.Steps To Reproduce
Html::el('span')->addHtml(0); // results in following TypeError
Expected Behavior
No type error being thrown
The text was updated successfully, but these errors were encountered: