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

@@ -35,9 +35,9 @@ use Exception;
class PopoverMenu extends UIBlock
{
// Overloaded constants
const BLOCK_CODE = 'ibo-popover-menu';
const HTML_TEMPLATE_REL_PATH = 'components/popover-menu/layout';
const JS_FILES_REL_PATH = [
public const BLOCK_CODE = 'ibo-popover-menu';
public const HTML_TEMPLATE_REL_PATH = 'components/popover-menu/layout';
public const JS_FILES_REL_PATH = [
'js/components/popover-menu.js',
];