[HttpFoundation] fix typo

This commit is contained in:
Nicolas Grekas 2019-08-11 11:51:13 +02:00
parent 45d449ce5b
commit f51f7e7b74
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,6 @@ class HeaderUtils
* 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 ",;="
*

View File

@ -100,7 +100,7 @@ class RequestMatcher implements RequestMatcherInterface
*
* @param int|null $port The port number to connect to
*/
public function matchPort(int $port = null)
public function matchPort(?int $port)
{
$this->port = $port;
}