Improve Formatter usage
Improve Formatter usage

Since the League\Uri\Interfaces\Uri has been stripped and is similar
to PSR-7 UriInterface, the Formatter is now allowed to format
PSR-7 UriInterface object to increase interoperability

thephpleague/uri-components,thephpleague/uri