Code Duplication    Length = 4-4 lines in 2 locations

Parser.php 2 locations

@@ 107-110 (lines=4) @@
104
                continue;
105
            }
106
107
            if (preg_match('/^#EXT-X-BYTERANGE:(.+)$/', $line, $matches)) {
108
                $data['playlist'][$mediaSequence]['byterange'] = $matches[1];
109
                continue;
110
            }
111
112
            if (preg_match('/^[^#]+/', $line, $matches)) {
113
                $data['playlist'][$mediaSequence]['uri'] = $matches[0];
@@ 112-115 (lines=4) @@
109
                continue;
110
            }
111
112
            if (preg_match('/^[^#]+/', $line, $matches)) {
113
                $data['playlist'][$mediaSequence]['uri'] = $matches[0];
114
                ++$mediaSequence;
115
            }
116
        }
117
118
        return $data;