Code Duplication    Length = 12-12 lines in 2 locations

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

@@ 7790-7801 (lines=12) @@
7787
                                $credits = $credits_parent;
7788
                            }
7789
                            // DESCRIPTION
7790
                            if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['description']))
7791
                            {
7792
                                $description = $this->sanitize($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['description'][0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
7793
                            }
7794
                            elseif (isset($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['description']))
7795
                            {
7796
                                $description = $this->sanitize($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['description'][0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
7797
                            }
7798
                            else
7799
                            {
7800
                                $description = $description_parent;
7801
                            }
7802
                            // HASHES
7803
                            if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['hash']))
7804
                            {
@@ 8047-8058 (lines=12) @@
8044
                                $thumbnails = $thumbnails_parent;
8045
                            }
8046
                            // TITLES
8047
                            if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['title']))
8048
                            {
8049
                                $title = $this->sanitize($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['title'][0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
8050
                            }
8051
                            elseif (isset($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['title']))
8052
                            {
8053
                                $title = $this->sanitize($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['title'][0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
8054
                            }
8055
                            else
8056
                            {
8057
                                $title = $title_parent;
8058
                            }
8059
                            $this->data['enclosures'][] = $this->registry->create('Enclosure', array($url, $type, $length, null, $bitrate, $captions, $categories, $channels, $copyrights, $credits, $description, $duration, $expression, $framerate, $hashes, $height, $keywords, $lang, $medium, $player, $ratings, $restrictions, $samplingrate, $thumbnails, $title, $width));
8060
                        }
8061
                    }