Skip to content

Commit ccd14a4

Browse files
committed
nullable type syntax
1 parent 31b58b1 commit ccd14a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Listener/ForceHttps.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function attach(EventManagerInterface $events, $priority = 1) : void
3939
private function setHttpStrictTransportSecurity(
4040
string $uriScheme,
4141
Response $response,
42-
RouteMatch $match = null
42+
?RouteMatch $match
4343
) : Response {
4444
if ($this->isSkippedHttpStrictTransportSecurity($uriScheme, $match)) {
4545
return $response;

0 commit comments

Comments
 (0)