@@ -19,11 +19,11 @@ |
||
19 | 19 | |
20 | 20 | return preg_replace_callback( |
21 | 21 | '/(%)([A-Z_]+)(%)/', |
22 | - function (array $matches) { |
|
22 | + function(array $matches) { |
|
23 | 23 | return |
24 | 24 | $_ENV[$matches[2]] |
25 | 25 | ?? $_SERVER[$matches[2]] |
26 | - ?? (getenv($matches[2]) === false ? $matches[1] . $matches[2] . $matches[3] : getenv($matches[2])); |
|
26 | + ?? (getenv($matches[2]) === false ? $matches[1].$matches[2].$matches[3] : getenv($matches[2])); |
|
27 | 27 | }, |
28 | 28 | $input |
29 | 29 | ) ?? ''; |
@@ -18,11 +18,11 @@ |
||
18 | 18 | { |
19 | 19 | return preg_replace_callback( |
20 | 20 | '/(%)(.+)(%)/', |
21 | - function ($matches) { |
|
21 | + function($matches) { |
|
22 | 22 | if (\defined($matches[2])) { |
23 | 23 | return constant($matches[2]); |
24 | 24 | } |
25 | - return $matches[1] . $matches[2] . $matches[3]; |
|
25 | + return $matches[1].$matches[2].$matches[3]; |
|
26 | 26 | }, |
27 | 27 | $input |
28 | 28 | ) ?? ''; |