update class documentation for phpDoc and Apigen
fix #18 Invalid URLs treated as valid
Merge pull request #19 from thephpleague/dev

Bug fix Invalid Uri parsing