Use addHtml() instead of add() where applicable

This commit is contained in:
Yonas Habteab 2023-09-08 15:18:27 +02:00
parent f66b551c75
commit 7638be9733

View file

@ -58,7 +58,7 @@ class ShowMore extends BaseHtmlElement
protected function assemble(): void
{
if ($this->resultSet->hasMore()) {
$this->add(new ActionLink($this->getLabel(), $this->url));
$this->addHtml(new ActionLink($this->getLabel(), $this->url));
}
}
}