Skip to content

Commit d2771b8

Browse files
authored
Release v2.2.12 (#4142)
1 parent f2274d7 commit d2771b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Uri/Uri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ private function filterPort($port)
642642
}
643643

644644
$port = (int) $port;
645-
if (1 > $port || 0xffff < $port) {
645+
if (1 > $port || 0xFFFF < $port) {
646646
throw new \InvalidArgumentException(sprintf('Invalid port: %d. Must be between 1 and 65535', $port));
647647
}
648648

0 commit comments

Comments
 (0)