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

@@ -34,8 +34,8 @@ use Combodo\iTop\Application\UI\UIBlock;
class PopoverMenuItem extends UIBlock
{
// Overloaded constants
const BLOCK_CODE = 'ibo-popover-menu--item';
const HTML_TEMPLATE_REL_PATH = 'components/popover-menu/item/layout';
public const BLOCK_CODE = 'ibo-popover-menu--item';
public const HTML_TEMPLATE_REL_PATH = 'components/popover-menu/item/layout';
/** @var \ApplicationPopupMenuItem $oPopupMenuItem We decorate the class with the original \ApplicationPopupMenuItem as it is used among the application (backoffice, portal, extensions) and cannot be refactored without BC breaks */
protected $oPopupMenuItem;