amphp/uri

Uri::getPort

kelunik opened this issue · 0 comments

Currently, default ports are normalized. Those ports are then replaced with an empty string. The return value of getPort isn't an interger anymore then. We should fix it to return the correct default port.