From 97c8eff23d0c22f869d27be4cef59498961672dc Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Fri, 28 Feb 2025 10:41:36 +0200 Subject: [PATCH] Issue #48: Fixed server value replacement error caused by non-string values Signed-off-by: alexmerlin --- src/Extra/Processor/ServerProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extra/Processor/ServerProcessor.php b/src/Extra/Processor/ServerProcessor.php index da6d708..56b7cec 100644 --- a/src/Extra/Processor/ServerProcessor.php +++ b/src/Extra/Processor/ServerProcessor.php @@ -41,7 +41,7 @@ public function process(array $data): array continue; } - $return[$serverKey] = $this->replace($this->replacementStrategy, $serverValue); + $return[$serverKey] = $this->replace($this->replacementStrategy, (string) $serverValue); } return $return;