/var/www/vhosts/ihelp.ro/httpdocs/vendor/guzzlehttp/psr7/src
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/guzzlehttp/psr7/src/UriComparator.php (1150B)
getHost(), $modified->getHost()) !== 0) {
return true;
}
if ($original->getScheme() !== $modified->getScheme()) {
return true;
}
if (self::computePort($original) !== self::computePort($modified)) {
return true;
}
return false;
}
private static function computePort(UriInterface $uri): int
{
$port = $uri->getPort();
if (null !== $port) {
return $port;
}
return 'https' === $uri->getScheme() ? 443 : 80;
}
private function __construct()
{
// cannot be instantiated
}
}