[HttpFoundation] fix typo
This commit is contained in:
parent
45d449ce5b
commit
f51f7e7b74
|
@ -36,7 +36,6 @@ class HeaderUtils
|
||||||
* HeaderUtils::split("da, en-gb;q=0.8", ",;")
|
* HeaderUtils::split("da, en-gb;q=0.8", ",;")
|
||||||
* // => ['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
|
* @param string $separators List of characters to split on, ordered by
|
||||||
* precedence, e.g. ",", ";=", or ",;="
|
* precedence, e.g. ",", ";=", or ",;="
|
||||||
*
|
*
|
||||||
|
|
|
@ -100,7 +100,7 @@ class RequestMatcher implements RequestMatcherInterface
|
||||||
*
|
*
|
||||||
* @param int|null $port The port number to connect to
|
* @param int|null $port The port number to connect to
|
||||||
*/
|
*/
|
||||||
public function matchPort(int $port = null)
|
public function matchPort(?int $port)
|
||||||
{
|
{
|
||||||
$this->port = $port;
|
$this->port = $port;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue