Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitadcdd93

Browse files
committed
PHP 5 compat
1 parent6c49a0c commitadcdd93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpFoundation/Request.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ public function getPort()
10371037
$pos =strrpos($host,':');
10381038
}
10391039

1040-
if (false !==$pos &&'' !==$port =substr($host,$pos +1)) {
1040+
if (false !==$pos &&$port =substr($host,$pos +1)) {
10411041
return (int)$port;
10421042
}
10431043

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp