Code Duplication    Length = 13-13 lines in 3 locations

src/RSSFeed/simplepie/simplepie_1.3.1.mini.php 3 locations

@@ 5884-5896 (lines=13) @@
5881
        }
5882
    }
5883
    
5884
    public function set_userinfo($iuserinfo)
5885
    {
5886
        if ($iuserinfo === null)
5887
        {
5888
            $this->iuserinfo = null;
5889
        }
5890
        else
5891
        {
5892
            $this->iuserinfo = $this->replace_invalid_with_pct_encoding($iuserinfo, '!$&\'()*+,;=:');
5893
            $this->scheme_normalization();
5894
        }
5895
        return true;
5896
    }
5897
    
5898
    public function set_host($ihost)
5899
    {
@@ 5986-5998 (lines=13) @@
5983
        return true;
5984
    }
5985
    
5986
    public function set_query($iquery)
5987
    {
5988
        if ($iquery === null)
5989
        {
5990
            $this->iquery = null;
5991
        }
5992
        else
5993
        {
5994
            $this->iquery = $this->replace_invalid_with_pct_encoding($iquery, '!$&\'()*+,;=:@/?', true);
5995
            $this->scheme_normalization();
5996
        }
5997
        return true;
5998
    }
5999
    
6000
    public function set_fragment($ifragment)
6001
    {
@@ 6000-6012 (lines=13) @@
5997
        return true;
5998
    }
5999
    
6000
    public function set_fragment($ifragment)
6001
    {
6002
        if ($ifragment === null)
6003
        {
6004
            $this->ifragment = null;
6005
        }
6006
        else
6007
        {
6008
            $this->ifragment = $this->replace_invalid_with_pct_encoding($ifragment, '!$&\'()*+,;=:@/?');
6009
            $this->scheme_normalization();
6010
        }
6011
        return true;
6012
    }
6013
    
6014
    public function to_uri($string)
6015
    {