Code Duplication    Length = 12-12 lines in 3 locations

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

@@ 1167-1178 (lines=12) @@
1164
        }
1165
    }
1166
    
1167
    public function get_author($key = 0)
1168
    {
1169
        $authors = $this->get_authors();
1170
        if (isset($authors[$key]))
1171
        {
1172
            return $authors[$key];
1173
        }
1174
        else
1175
        {
1176
            return null;
1177
        }
1178
    }
1179
    
1180
    public function get_authors()
1181
    {
@@ 6392-6403 (lines=12) @@
6389
        }
6390
    }
6391
    
6392
    public function get_author($key = 0)
6393
    {
6394
        $authors = $this->get_authors();
6395
        if (isset($authors[$key]))
6396
        {
6397
            return $authors[$key];
6398
        }
6399
        else
6400
        {
6401
            return null;
6402
        }
6403
    }
6404
    
6405
    public function get_contributor($key = 0)
6406
    {
@@ 12772-12783 (lines=12) @@
12769
            return null;
12770
        }
12771
    }
12772
    public function get_author($key = 0)
12773
    {
12774
        $authors = $this->get_authors();
12775
        if (isset($authors[$key]))
12776
        {
12777
            return $authors[$key];
12778
        }
12779
        else
12780
        {
12781
            return null;
12782
        }
12783
    }
12784
    public function get_authors()
12785
    {
12786
        $authors = array();