Undefined index port when uri is not full
dsazup opened this issue · comments
Hey, great library, currently using this in a project.
I run into an issue, when the uri is not full, for example, just contains the scheme (like "https://", or "https://hello"), it would throw undefined index 'port' error.
I fixed this by adding an isset check, will send in a pull request.