mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 15:23:12 +08:00
Used constants when possible when parsing app config
This commit is contained in:
@@ -13,8 +13,8 @@ class ApplicationConfigCustomizer implements ConfigCustomizerInterface
|
||||
{
|
||||
use StringUtilsTrait;
|
||||
|
||||
private const SECRET = 'SECRET';
|
||||
private const DISABLE_TRACK_PARAM = 'DISABLE_TRACK_PARAM';
|
||||
public const SECRET = 'SECRET';
|
||||
public const DISABLE_TRACK_PARAM = 'DISABLE_TRACK_PARAM';
|
||||
private const EXPECTED_KEYS = [
|
||||
self::SECRET,
|
||||
self::DISABLE_TRACK_PARAM,
|
||||
|
||||
Reference in New Issue
Block a user