Code Duplication    Length = 8-8 lines in 2 locations

typo3/sysext/frontend/Classes/ContentObject/Menu/GraphicalMenuContentObject.php 1 location

@@ 547-554 (lines=8) @@
544
     * @internal
545
     * @see writeMenu()
546
     */
547
    public function extProc_finish()
548
    {
549
        // stdWrap:
550
        if (is_array($this->mconf['stdWrap.'])) {
551
            $this->WMresult = $this->WMcObj->stdWrap($this->WMresult, $this->mconf['stdWrap.']);
552
        }
553
        return $this->WMcObj->wrap($this->WMresult, $this->mconf['wrap']) . $this->WMextraScript;
554
    }
555
}
556

typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php 1 location

@@ 263-270 (lines=8) @@
260
     * @access private
261
     * @see writeMenu()
262
     */
263
    public function extProc_finish()
264
    {
265
        // stdWrap:
266
        if (is_array($this->mconf['stdWrap.'])) {
267
            $this->WMresult = $this->WMcObj->stdWrap($this->WMresult, $this->mconf['stdWrap.']);
268
        }
269
        return $this->WMcObj->wrap($this->WMresult, $this->mconf['wrap']) . $this->WMextraScript;
270
    }
271
}
272