Merge branch '4.3' into 4.4
* 4.3: [HttpFoundation] fix typo
This commit is contained in:
commit
43739dbf53
@ -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 ",;="
|
||||
*
|
||||
|
@ -97,7 +97,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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user