mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°2847 - Rework on iUIContentBlock and PageContent
* Add new Trait tUIContentAreas to handle multiple content areas across UIBlock classes (extracted from PageContent) * Remove return type hinting in some method when type was "self" or the class itself when it's meant to be overloaded (works only with PHP 7.4+) * Update some PHPDoc * Reformat some brackets
This commit is contained in:
@@ -257,7 +257,7 @@ abstract class UIBlock implements iUIBlock
|
||||
}
|
||||
|
||||
|
||||
public function AddHtml(string $sHTML): iUIBlock
|
||||
public function AddHtml(string $sHTML)
|
||||
{
|
||||
// By default this does nothing
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user