mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 07:43:12 +08:00
Used constants when possible when parsing app config
This commit is contained in:
@@ -15,10 +15,10 @@ class UrlShortenerConfigCustomizer implements ConfigCustomizerInterface
|
||||
{
|
||||
use AskUtilsTrait;
|
||||
|
||||
private const SCHEMA = 'SCHEMA';
|
||||
private const HOSTNAME = 'HOSTNAME';
|
||||
private const CHARS = 'CHARS';
|
||||
private const VALIDATE_URL = 'VALIDATE_URL';
|
||||
public const SCHEMA = 'SCHEMA';
|
||||
public const HOSTNAME = 'HOSTNAME';
|
||||
public const CHARS = 'CHARS';
|
||||
public const VALIDATE_URL = 'VALIDATE_URL';
|
||||
private const EXPECTED_KEYS = [
|
||||
self::SCHEMA,
|
||||
self::HOSTNAME,
|
||||
|
||||
Reference in New Issue
Block a user