From b71f1a79c878860c0d7f90e50469d9f815ca5a62 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 26 Apr 2024 21:11:40 +0200 Subject: [PATCH] revert: variable parsing --- bootstrap/helpers/services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/helpers/services.php b/bootstrap/helpers/services.php index 5b71a8b10..8e3c0337e 100644 --- a/bootstrap/helpers/services.php +++ b/bootstrap/helpers/services.php @@ -18,7 +18,7 @@ function collectRegex(string $name) } function replaceVariables($variable) { - return $variable->after('${')->before('}'); + return $variable->replaceFirst('$', '')->replaceFirst('{', '')->replaceLast('}', ''); } function getFilesystemVolumesFromServer(ServiceApplication|ServiceDatabase|Application $oneService, bool $isInit = false)