|
@@ -107,7 +107,7 @@ discard block |
|
|
block discarded – undo |
|
107
|
107
|
|
|
108
|
108
|
$appConfig = $this->getAppConfig(); |
|
109
|
109
|
|
|
110
|
|
- $defaults[static::KEY_LOG_IS_ENABLED] = (bool)($appConfig[A::KEY_IS_LOG_ENABLED] ?? false); |
|
|
110
|
+ $defaults[static::KEY_LOG_IS_ENABLED] = (bool) ($appConfig[A::KEY_IS_LOG_ENABLED] ?? false); |
|
111
|
111
|
|
|
112
|
112
|
if (array_key_exists(A::KEY_APP_ORIGIN_SCHEMA, $appConfig) === true && |
|
113
|
113
|
array_key_exists(A::KEY_APP_ORIGIN_HOST, $appConfig) === true && |
|
@@ -119,9 +119,9 @@ discard block |
|
|
block discarded – undo |
|
119
|
119
|
* @see http://php.net/manual/function.parse-url.php |
|
120
|
120
|
*/ |
|
121
|
121
|
$defaults[static::KEY_SERVER_ORIGIN] = [ |
|
122
|
|
- static::KEY_SERVER_ORIGIN_SCHEMA => (string)$appConfig[A::KEY_APP_ORIGIN_SCHEMA], |
|
123
|
|
- static::KEY_SERVER_ORIGIN_HOST => (string)$appConfig[A::KEY_APP_ORIGIN_HOST], |
|
124
|
|
- static::KEY_SERVER_ORIGIN_PORT => (string)$appConfig[A::KEY_APP_ORIGIN_PORT], |
|
|
122
|
+ static::KEY_SERVER_ORIGIN_SCHEMA => (string) $appConfig[A::KEY_APP_ORIGIN_SCHEMA], |
|
|
123
|
+ static::KEY_SERVER_ORIGIN_HOST => (string) $appConfig[A::KEY_APP_ORIGIN_HOST], |
|
|
124
|
+ static::KEY_SERVER_ORIGIN_PORT => (string) $appConfig[A::KEY_APP_ORIGIN_PORT], |
|
125
|
125
|
]; |
|
126
|
126
|
} |
|
127
|
127
|
|
Please login to merge, or discard this patch.