mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 04:28:44 +02:00
Add visibility to class constants (PHP >= 7.1)
This commit is contained in:
@@ -33,8 +33,8 @@ use utils;
|
||||
*/
|
||||
class GlobalSearchHelper
|
||||
{
|
||||
const MAX_HISTORY_SIZE = 10;
|
||||
const USER_PREF_CODE = 'global_search_history';
|
||||
public const MAX_HISTORY_SIZE = 10;
|
||||
public const USER_PREF_CODE = 'global_search_history';
|
||||
|
||||
/**
|
||||
* Add $sQuery to the history. History is limited to the static::MAX_HISTORY_SIZE last queries.
|
||||
|
||||
Reference in New Issue
Block a user