Skip to content

Commit f01f306

Browse files
committed
Use strval of header value
1 parent 4e25442 commit f01f306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaunchDarkly/Impl/Integrations/CurlEventPublisher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private function createPowershellArgs(string $payloadFile): string
109109
$headerString = "";
110110
foreach ($this->_eventHeaders as $key => $value) {
111111
$escapedKey = str_replace("'", "''", $key);
112-
$escapedValue = str_replace("'", "''", $value);
112+
$escapedValue = str_replace("'", "''", strval($value));
113113
$headerString .= sprintf('"%s"="%s";', $escapedKey, $escapedValue);
114114
}
115115

0 commit comments

Comments
 (0)