Skip to content

Commit bf9661f

Browse files
committed
fix
1 parent 67a3bb7 commit bf9661f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private function isSchemeHttps(string $uriScheme): bool
2828
private function isGoingToBeForcedToHttps(RouteMatch|RouteResult|null $match = null): bool
2929
{
3030
if ($match === null || ($match instanceof RouteResult && $match->isFailure())) {
31-
return (bool) $this->config['allow_404'] ?? false;
31+
return (bool) ($this->config['allow_404'] ?? false);
3232
}
3333

3434
$matchedRouteName = $match->getMatchedRouteName();

0 commit comments

Comments
 (0)