Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/core/Classes/TimeTracker/TimeTracker.php 2 locations

@@ 487-489 (lines=3) @@
484
                $PM = is_array($arr[$k . '.']) ? '<i class="fa fa-' . ($deeper ? 'minus' : 'plus') . '-square-o"></i>' : '<span class="treeline-icon treeline-icon-join' . ($BTM ? 'bottom' : '') . '"></span>';
485
486
                $this->tsStackLog[$v]['icons'] = $depthData . ($first ? '' : $PM);
487
                if ($this->tsStackLog[$v]['content'] !== '') {
488
                    $content = str_replace($this->tsStackLog[$v]['content'], $v, $content);
489
                }
490
                if (is_array($arr[$k . '.'])) {
491
                    $this->tsStackLog[$v]['content'] = $this->fixContent($arr[$k . '.'], $this->tsStackLog[$v]['content'], $depthData . ($first ? '' : '<span class="treeline-icon treeline-icon-' . $LN . '"></span>'), 0, $v);
492
                } else {
@@ 509-511 (lines=3) @@
506
        // Traverse array again, this time substitute the unique hash with the red key
507
        foreach ($arr as $k => $v) {
508
            if (\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($k)) {
509
                if ($this->tsStackLog[$v]['content'] !== '') {
510
                    $content = str_replace($v, '<strong style="color:red;">[' . $this->tsStackLog[$v]['key'] . ']</strong>', $content);
511
                }
512
            }
513
        }
514
        // Return the content