Joomla\CMS\WebAsset\WebAssetManager::addInline()
is documented as accepting WebAssetItem
(it should probably be WebAssetItemInterface
) or string and has broken code for handling WebAssetItem
but is typehinted to accept only string
.
Also wrong type of exception is thrown (although code is currently unreachable).
Labels |
Added:
?
|
Title |
|
I just noticed, there one more issue, related to it.
I will make a patch when will get some time.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-07 17:46:52 |
Closed_By | ⇒ | Quy |
makes sense :)
it need to remove typehint, as it for
registerAsset()