Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 2044805

Browse files
committed
Fix bug with numeric header
1 parent ab5e4cf commit 2044805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ private static function getCurrentRequestHeaders() : array
274274

275275
if ($requestHeaders) {
276276
foreach ($requestHeaders as $key => $value) {
277-
$key = strtolower($key);
277+
$key = strtolower((string) $key);
278278
$headers[$key] = [$value];
279279
}
280280

0 commit comments

Comments
 (0)