Code Duplication    Length = 12-12 lines in 3 locations

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

@@ 1249-1260 (lines=12) @@
1246
        }
1247
    }
1248
    
1249
    public function get_contributor($key = 0)
1250
    {
1251
        $contributors = $this->get_contributors();
1252
        if (isset($contributors[$key]))
1253
        {
1254
            return $contributors[$key];
1255
        }
1256
        else
1257
        {
1258
            return null;
1259
        }
1260
    }
1261
    
1262
    public function get_contributors()
1263
    {
@@ 6405-6416 (lines=12) @@
6402
        }
6403
    }
6404
    
6405
    public function get_contributor($key = 0)
6406
    {
6407
        $contributors = $this->get_contributors();
6408
        if (isset($contributors[$key]))
6409
        {
6410
            return $contributors[$key];
6411
        }
6412
        else
6413
        {
6414
            return null;
6415
        }
6416
    }
6417
    
6418
    public function get_contributors()
6419
    {
@@ 12852-12863 (lines=12) @@
12849
            return null;
12850
        }
12851
    }
12852
    public function get_contributor($key = 0)
12853
    {
12854
        $contributors = $this->get_contributors();
12855
        if (isset($contributors[$key]))
12856
        {
12857
            return $contributors[$key];
12858
        }
12859
        else
12860
        {
12861
            return null;
12862
        }
12863
    }
12864
    public function get_contributors()
12865
    {
12866
        $contributors = array();