Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb965e1

Browse files
Cast header name to string
1 parentca10cc4 commitdb965e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Headers.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ protected function parseAuthorizationHeader(array $headers): array
178178
{
179179
$hasAuthorizationHeader =false;
180180
foreach ($headersas$name =>$value) {
181-
if (strtolower($name) ==='authorization') {
181+
if (strtolower((string)$name) ==='authorization') {
182182
$hasAuthorizationHeader =true;
183183
break;
184184
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp