UIBlock: Update PHPDoc, fix typo in $aJsTemplatesRelPath property/methods name and fix $aAdditionalCSSClasses initialization

This commit is contained in:
Molkobain
2021-01-21 11:58:17 +01:00
parent 882fd761a6
commit 7c8019319a
3 changed files with 29 additions and 26 deletions

View File

@@ -143,12 +143,12 @@ class BlockRenderer
public function RenderJsInline(string $sType)
{
$sOutput = '';
if(!empty($this->oBlock->GetJsTemplateRelPath($sType)))
if(!empty($this->oBlock->GetJsTemplatesRelPath($sType)))
{
$sOutput = TwigHelper::RenderTemplate(
static::$oTwigEnv,
$this->GetTemplateParameters(),
$this->oBlock->GetJsTemplateRelPath($sType),
$this->oBlock->GetJsTemplatesRelPath($sType),
$sType
);
}