Skip to content

Commit 14f5c5e

Browse files
author
Tobias Feijten
committed
Fix annotation for ExposedRoutesExtractor
1 parent 2ea2e00 commit 14f5c5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Extractor/ExposedRoutesExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function getHost(): string
120120
/**
121121
* {@inheritDoc}
122122
*/
123-
public function getPort(): string
123+
public function getPort(): ?string
124124
{
125125
$requestContext = $this->router->getContext();
126126

Extractor/ExposedRoutesExtractorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function getHost(): string;
4343
/**
4444
* Get the port from RequestContext, only if non standard port (Eg: "8080")
4545
*/
46-
public function getPort(): string;
46+
public function getPort(): ?string;
4747

4848
/**
4949
* Get the scheme from RequestContext

0 commit comments

Comments
 (0)