8000 Merge branch '4.3' into 4.4 · symfony/symfony@43739db · GitHub
[go: up one dir, main page]

Skip to content

Commit 43739db

Browse files
Merge branch '4.3' into 4.4
* 4.3: [HttpFoundation] fix typo
2 parents 17f15b3 + f51f7e7 commit 43739db

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Symfony/Component/HttpFoundation/HeaderUtils.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ private function __construct()
3636
* HeaderUtils::split("da, en-gb;q=0.8", ",;")
3737
* // => ['da'], ['en-gb', 'q=0.8']]
3838
*
39-
* @param string $header HTTP header value
4039
* @param string $separators List of characters to split on, ordered by
4140
* precedence, e.g. ",", ";=", or ",;="
4241
*

src/Symfony/Component/HttpFoundation/RequestMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function matchHost($regexp)
9797
*
9898
* @param int|null $port The port number to connect to
9999
*/
100-
public function matchPort(int $port = null)
100+
public function matchPort(?int $port)
101101
{
102102
$this->port = $port;
103103
}

0 commit comments

Comments
 (0)
0