We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff6bfe commit b30447aCopy full SHA for b30447a
src/Uri.php
@@ -433,7 +433,7 @@ private function normalizePort($port): ?int
433
434
if ($port < 1 || $port > 65535) {
435
throw new InvalidArgumentException(sprintf(
436
- 'Invalid port "%d" specified. It must be a valid TCP/UDP port in range 2..65534.',
+ 'Invalid port "%d" specified. It must be a valid TCP/UDP port in range 1..65535.',
437
$port
438
));
439
}
0 commit comments