PHPDoc & code cleanup

This commit is contained in:
Molkobain
2020-08-26 16:31:46 +02:00
parent 7f3c10b69d
commit fa406c1f17
4 changed files with 10 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ class Html extends UIBlock
const BLOCK_CODE = 'ibo-html';
const HTML_TEMPLATE_REL_PATH = 'components/html/layout';
/** @var string $sHtml */
/** @var string $sHtml The raw HTML, must be already sanitized */
protected $sHtml;
/**
@@ -51,6 +51,8 @@ class Html extends UIBlock
}
/**
* Return the raw HTML, should have been sanitized
*
* @return string
*/
public function GetHtml()
@@ -59,7 +61,10 @@ class Html extends UIBlock
}
/**
* Set the raw HTML, must be already sanitized
*
* @param string $sHtml
*
* @return $this
*/
public function SetHtml($sHtml)