Skip to content

Commit

Permalink
[HttpFoundation] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Aug 11, 2019
1 parent 45d449c commit f51f7e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Symfony/Component/HttpFoundation/HeaderUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ private function __construct()
* HeaderUtils::split("da, en-gb;q=0.8", ",;")
* // => ['da'], ['en-gb', 'q=0.8']]
*
* @param string $header HTTP header value
* @param string $separators List of characters to split on, ordered by
* precedence, e.g. ",", ";=", or ",;="
*
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/RequestMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function matchHost($regexp)
*
* @param int|null $port The port number to connect to
*/
public function matchPort(int $port = null)
public function matchPort(?int $port)
{
$this->port = $port;
}
Expand Down

0 comments on commit f51f7e7

Please sign in to comment.