Code Duplication    Length = 3-3 lines in 2 locations

Sitemap/Formatter/XmlFormatter.php 2 locations

@@ 148-150 (lines=3) @@
145
            $buffer .= "\t\t".sprintf('<video:gallery_loc%s>', $title).$this->escape($galleryLoc['loc']).'</video:gallery_loc>'."\n";
146
        }
147
148
        if ($video->getRequiresSubscription() !== null) {
149
            $buffer .= "\t\t".'<video:requires_subscription>'.($video->getRequiresSubscription() ? 'yes' : 'no').'</video:requires_subscription>'."\n";
150
        }
151
152
        if ($video->getUploader() !== null) {
153
            $uploader = $video->getUploader();
@@ 165-167 (lines=3) @@
162
            }
163
        }
164
165
        if ($video->getLive() !== null) {
166
            $buffer .= "\t\t".'<video:live>'.($video->getLive() ? 'yes' : 'no').'</video:live>'."\n";
167
        }
168
169
        return $buffer."\t".'</video:video>'."\n";
170
    }