Skip to content

Commit 6fe6a1e

Browse files
committed
Use identical comparison for schema validation.
1 parent 518e21d commit 6fe6a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ public function getHttpHost()
983983
$scheme = $this->getScheme();
984984
$port = $this->getPort();
985985

986-
if (('http' == $scheme && 80 == $port) || ('https' == $scheme && 443 == $port)) {
986+
if (('http' === $scheme && 80 == $port) || ('https' === $scheme && 443 == $port)) {
987987
return $this->getHost();
988988
}
989989

0 commit comments

Comments
 (0)