diff options
author | Reedy <reedy@wikimedia.org> | 2020-05-16 01:34:28 +0100 |
---|---|---|
committer | Reedy <reedy@wikimedia.org> | 2020-05-16 04:30:37 +0100 |
commit | 9fb14c42aaa7ce2dad48e60205f548231b673e11 (patch) | |
tree | b0925b50f564d1d700a3883f181ea31e149e91f9 /includes/Storage/PageEditStash.php | |
parent | a8b006426e890f7014e0f209a8186e514c8cf3c2 (diff) | |
download | mediawikicore-9fb14c42aaa7ce2dad48e60205f548231b673e11.tar.gz mediawikicore-9fb14c42aaa7ce2dad48e60205f548231b673e11.zip |
Fix includes/Storage PSR12.Properties.ConstantVisibility.NotFound
Change-Id: Ia52b3f29c790e3fa5d5e3e648d518ef5df96d0ac
Diffstat (limited to 'includes/Storage/PageEditStash.php')
-rw-r--r-- | includes/Storage/PageEditStash.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/includes/Storage/PageEditStash.php b/includes/Storage/PageEditStash.php index 05acafcf7ee8..0cee194f6b56 100644 --- a/includes/Storage/PageEditStash.php +++ b/includes/Storage/PageEditStash.php @@ -53,20 +53,20 @@ class PageEditStash { /** @var int */ private $initiator; - const ERROR_NONE = 'stashed'; - const ERROR_PARSE = 'error_parse'; - const ERROR_CACHE = 'error_cache'; - const ERROR_UNCACHEABLE = 'uncacheable'; - const ERROR_BUSY = 'busy'; + public const ERROR_NONE = 'stashed'; + public const ERROR_PARSE = 'error_parse'; + public const ERROR_CACHE = 'error_cache'; + public const ERROR_UNCACHEABLE = 'uncacheable'; + public const ERROR_BUSY = 'busy'; - const PRESUME_FRESH_TTL_SEC = 30; - const MAX_CACHE_TTL = 300; // 5 minutes - const MAX_SIGNATURE_TTL = 60; + public const PRESUME_FRESH_TTL_SEC = 30; + private const MAX_CACHE_TTL = 300; // 5 minutes + private const MAX_SIGNATURE_TTL = 60; - const MAX_CACHE_RECENT = 2; + private const MAX_CACHE_RECENT = 2; - const INITIATOR_USER = 1; - const INITIATOR_JOB_OR_CLI = 2; + public const INITIATOR_USER = 1; + public const INITIATOR_JOB_OR_CLI = 2; /** * @param BagOStuff $cache |