@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | // Certain recursive stuff, like @[SelfReferencedPlaceholder.@[SomeStuff.a]] is what triggers this part. |
114 | 114 | // Find the self referenced placeholders and fill them. |
115 | 115 | // Force type to string, in possible case of null. |
116 | - $data = (string)preg_replace_callback( |
|
116 | + $data = (string) preg_replace_callback( |
|
117 | 117 | '/@\[([a-zA-Z0-9_.-]*?)]/', |
118 | 118 | function ($matches): string { |
119 | 119 | // Does this key exist, is so fill this match, if not, just return the match intact. |
@@ -124,12 +124,12 @@ discard block |
||
124 | 124 | |
125 | 125 | // Find the recursive self referenced placeholders and fill them. |
126 | 126 | if ($data !== $value && preg_match('/@\[([a-zA-Z0-9_.-]*?)]/', $data)) { |
127 | - $data = (string)$this->processConfig($data); |
|
127 | + $data = (string) $this->processConfig($data); |
|
128 | 128 | } |
129 | 129 | |
130 | 130 | // Find the environment variable placeholders and fill them. |
131 | 131 | // Force the type to string, in possible case of null. |
132 | - return (string)preg_replace_callback( |
|
132 | + return (string) preg_replace_callback( |
|
133 | 133 | '/\$\[([a-zA-Z0-9_.-]*?)]/', |
134 | 134 | static function ($matches) { |
135 | 135 | // Replace with local variable (non-SAPI) |