public static function appendQuery($uri, $query)
    {
        return $uri->withQuery((string) (new Query(self::filterUri($uri)->getQuery()))->append($query));
    }
public static function appendQuery($uri, $query)
    {
        return $uri->withQuery((string) (new Query(self::filterUri($uri)->getQuery()))->append($query));
    }
public static function appendQuery ( $ uri , $ query ) { return $ uri -> withQuery ( ( string ) ( new Query ( self :: filterUri ( $ uri ) -> getQuery ( ) ) ) -> append ( $ query ) ) ; }
Add the new query data to the existing URI query.

@return Psr7UriInterface|UriInterface
Add the new query data to the existing URI query .