Zend\Uri\Uri::normalizePort
Normalize the port
If the class defines a default port for the current scheme, and the current port is default, it will be unset.
Signature
protected function normalizePort(int
$port,
[string
$scheme = null] )
Parameters
$port
— int$scheme
— string
Returns
- int|null