Code Duplication    Length = 1-1 lines in 2 locations

src/Tool/Performance.php 2 locations

@@ 91-91 (lines=1) @@
88
        $spaces = "";
89
        if (is_array($this->data['info']))
90
            foreach ($this->data['info'] as $key => $value) {
91
                if (is_string($value) && strpos($value, '[endnote]') !== FALSE) $spaces = substr($spaces, 0, -2);
92
                $ret .= $spaces;
93
                $ret .= ((is_string($value)) ? $value : print_r($value, TRUE)) . "\n";
94
                if (is_string($value) && strpos($value, '[note]') !== FALSE) $spaces .= "  ";
@@ 129-129 (lines=1) @@
126
    echo $title;
127
    $spaces = "";
128
    foreach ($__p->data['info'] as $key => $value) {
129
        if (is_string($value) && strpos($value, '[endnote]') !== FALSE) $spaces = substr($spaces, 0, -2);
130
        echo $spaces;
131
        echo ((is_string($value)) ? $value : print_r($value, TRUE)) . "\n";
132
        if (is_string($value) && strpos($value, '[note]') !== FALSE) $spaces .= "  ";