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,8 +35,8 @@ use utils;
*/
class QuickCreateHelper
{
const MAX_HISTORY_SIZE = 10;
const USER_PREF_CODE = 'quick_create_history';
public const MAX_HISTORY_SIZE = 10;
public const USER_PREF_CODE = 'quick_create_history';
/**
* Add $sQuery to the history. History is limited to the static::MAX_HISTORY_SIZE last classes.