Code Duplication    Length = 15-15 lines in 2 locations

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

@@ 1636-1650 (lines=15) @@
1633
        }
1634
    }
1635
    
1636
    public function get_image_width()
1637
    {
1638
        if ($return = $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'width'))
1639
        {
1640
            return round($return[0]['data']);
1641
        }
1642
        elseif ($this->get_type() & SIMPLEPIE_TYPE_RSS_SYNDICATION && $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'url'))
1643
        {
1644
            return 88.0;
1645
        }
1646
        else
1647
        {
1648
            return null;
1649
        }
1650
    }
1651
    
1652
    public function get_image_height()
1653
    {
@@ 1652-1666 (lines=15) @@
1649
        }
1650
    }
1651
    
1652
    public function get_image_height()
1653
    {
1654
        if ($return = $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'height'))
1655
        {
1656
            return round($return[0]['data']);
1657
        }
1658
        elseif ($this->get_type() & SIMPLEPIE_TYPE_RSS_SYNDICATION && $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'url'))
1659
        {
1660
            return 31.0;
1661
        }
1662
        else
1663
        {
1664
            return null;
1665
        }
1666
    }
1667
    
1668
    public function get_item_quantity($max = 0)
1669
    {