`CustomVarTable`: Cast `$wrapper` to `ipl\Html\HtmlDocument` using inline `@var` in `renderGroup()`

This commit is contained in:
raviks789 2023-08-14 14:17:16 +02:00
parent baeba7c27a
commit 8fe428f987
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@ class CustomVarTable extends BaseHtmlElement
{
$table = new self($entries);
/** @var HtmlDocument $wrapper */
$wrapper = $this->getWrapper();
if ($wrapper === null) {
$wrapper = new HtmlDocument();