Code Duplication    Length = 3-3 lines in 2 locations

class/magpie.inc.php 2 locations

@@ 191-193 (lines=3) @@
188
189
        // if we're in the default namespace of an RSS feed,
190
        //  record textinput or image fields
191
        elseif (RSS == $this->feed_type && '' === $this->current_namespace && 'textinput' === $el) {
192
            $this->intextinput = true;
193
        } elseif (RSS == $this->feed_type && '' === $this->current_namespace && 'image' === $el) {
194
            $this->inimage = true;
195
        } # handle atom content constructs
196
        elseif (ATOM == $this->feed_type && in_array($el, $this->_CONTENT_CONSTRUCTS)) {
@@ 257-259 (lines=3) @@
254
            $this->items[]      = $this->current_item;
255
            $this->current_item = [];
256
            $this->initem       = false;
257
        } elseif (RSS == $this->feed_type && '' === $this->current_namespace && 'textinput' === $el) {
258
            $this->intextinput = false;
259
        } elseif (RSS == $this->feed_type && '' === $this->current_namespace && 'image' === $el) {
260
            $this->inimage = false;
261
        } elseif (ATOM == $this->feed_type && in_array($el, $this->_CONTENT_CONSTRUCTS)) {
262
            $this->incontent = false;