Add visibility to class constants (PHP >= 7.1)

This commit is contained in:
Molkobain
2020-08-26 19:02:53 +02:00
parent 8bdaec0129
commit b5c97e35bf
32 changed files with 154 additions and 151 deletions

View File

@@ -32,8 +32,8 @@ use Combodo\iTop\Application\UI\UIBlock;
class Html extends UIBlock
{
// Overloaded constants
const BLOCK_CODE = 'ibo-html';
const HTML_TEMPLATE_REL_PATH = 'components/html/layout';
public const BLOCK_CODE = 'ibo-html';
public const HTML_TEMPLATE_REL_PATH = 'components/html/layout';
/** @var string $sHtml The raw HTML, must be already sanitized */
protected $sHtml;