Skip to content

Commit 52ab067

Browse files
committed
Fix typing errors.
1 parent ff8f739 commit 52ab067

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

phpstan.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,3 @@ parameters:
3737
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
3838
count: 2
3939
path: src/Middleware/AuthenticationMiddleware.php
40-
41-
-
42-
message: "#^Method Authentication\\\\UrlChecker\\\\DefaultUrlChecker\\:\\:check\\(\\) has parameter \\$urls with no typehint specified\\.$#"
43-
count: 1
44-
path: src/UrlChecker/DefaultUrlChecker.php

src/Authenticator/HttpDigestAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ protected function loginHeaders(ServerRequestInterface $request): array
230230
$v = $v ? 'true' : 'false';
231231
$opts[] = sprintf('%s=%s', $k, $v);
232232
} else {
233-
$opts[] = sprintf('%s="%s"', $k, $v);
233+
$opts[] = sprintf('%s="%s"', $k, (string)$v);
234234
}
235235
}
236236

0 commit comments

Comments
 (0)