mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
Add visibility to class constants (PHP >= 7.1)
This commit is contained in:
@@ -28,5 +28,5 @@ namespace Combodo\iTop\Application\UI\Layout\ActivityPanel\ActivityEntry\CMDBCha
|
||||
*/
|
||||
class CMDBChangeOpAttachmentAddedFactory extends CMDBChangeOpFactory
|
||||
{
|
||||
const DEFAULT_DECORATION_CLASSES = 'fas fa-fw fa-paperclip';
|
||||
public const DEFAULT_DECORATION_CLASSES = 'fas fa-fw fa-paperclip';
|
||||
}
|
||||
@@ -30,5 +30,5 @@ use iCMDBChangeOp;
|
||||
*/
|
||||
class CMDBChangeOpAttachmentRemovedFactory extends CMDBChangeOpFactory
|
||||
{
|
||||
const DEFAULT_DECORATION_CLASSES = 'fas fa-fw fa-unlink';
|
||||
public const DEFAULT_DECORATION_CLASSES = 'fas fa-fw fa-unlink';
|
||||
}
|
||||
@@ -30,7 +30,8 @@ use iCMDBChangeOp;
|
||||
*/
|
||||
class CMDBChangeOpCreateFactory extends CMDBChangeOpFactory
|
||||
{
|
||||
const DEFAULT_DECORATION_CLASSES = 'fas fa-fw fa-unlink';
|
||||
public const DEFAULT_DECORATION_CLASSES = 'fas fa-fw fa-unlink';
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
||||
@@ -30,7 +30,8 @@ use iCMDBChangeOp;
|
||||
*/
|
||||
class CMDBChangeOpDeleteFactory extends CMDBChangeOpFactory
|
||||
{
|
||||
const DEFAULT_DECORATION_CLASSES = 'fas fa-fw fa-unlink';
|
||||
public const DEFAULT_DECORATION_CLASSES = 'fas fa-fw fa-unlink';
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
||||
@@ -37,9 +37,9 @@ use iCMDBChangeOp;
|
||||
class CMDBChangeOpFactory
|
||||
{
|
||||
/** @var string DEFAULT_TYPE Used to overload the type from the ActivityEntry */
|
||||
const DEFAULT_TYPE = EditsEntry::DEFAULT_TYPE;
|
||||
public const DEFAULT_TYPE = EditsEntry::DEFAULT_TYPE;
|
||||
/** @var string DEFAULT_DECORATION_CLASSES Used to overload the decoration classes from the ActivityEntry */
|
||||
const DEFAULT_DECORATION_CLASSES = ActivityEntry::DEFAULT_DECORATION_CLASSES;
|
||||
public const DEFAULT_DECORATION_CLASSES = ActivityEntry::DEFAULT_DECORATION_CLASSES;
|
||||
|
||||
/**
|
||||
* Make an ActivityEntry from the iCMDBChangeOp $oChangeOp
|
||||
|
||||
Reference in New Issue
Block a user