From 5535fe55941802d84619ffff40a6bc8600e3ed13 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Thu, 4 May 2023 16:13:47 -0500 Subject: [PATCH] Update src/functions/marshal_headers_from_sapi.php Co-authored-by: Aleksei Khudiakov Signed-off-by: Matthew Weier O'Phinney --- src/functions/marshal_headers_from_sapi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions/marshal_headers_from_sapi.php b/src/functions/marshal_headers_from_sapi.php index 21258cab..2819840d 100644 --- a/src/functions/marshal_headers_from_sapi.php +++ b/src/functions/marshal_headers_from_sapi.php @@ -67,7 +67,7 @@ function marshalHeadersFromSapi(array $server): array } // Filter out integer keys. - // These can occor if the translated header name is a string integer. + // These can occur if the translated header name is a string integer. // PHP will cast those to integers when assigned to an array. // This filters them out. return array_filter($headers, fn(string|int $key): bool => is_string($key), ARRAY_FILTER_USE_KEY);