Code Duplication    Length = 3-3 lines in 2 locations

src/Tool/Performance.php 2 locations

@@ 100-102 (lines=3) @@
97
            }
98
        $ret .= "\n\nTOTALS:\n";
99
        if (is_array($this->data['titles']))
100
            foreach ($this->data['titles'] as $key => $value) {
101
                $ret .= "[$key] : " . round($value['mem'], 3) . ' Mb / ' . round($value['time'], 3) . " secs.\n";
102
            }
103
104
        return $ret;
105
    }
@@ 137-139 (lines=3) @@
134
135
    }
136
    echo "\n\nTOTALS:\n";
137
    foreach ($__p->data['titles'] as $key => $value) {
138
        echo "[$key] : " . round($value['mem'], 3) . ' Mb / ' . round($value['time'], 3) . " secs.\n";
139
    }
140
    echo $addhtml;
141
    echo $bottom;
142
}