Code Duplication    Length = 7-9 lines in 2 locations

src/Renderer/Rich/Plugin.php 2 locations

@@ 84-90 (lines=7) @@
81
            $header .= '<var>'.$s.'</var> ';
82
        }
83
84
        if (($s = $o->getName()) !== null) {
85
            $header .= '<dfn>'.Kint_Object_Blob::escape($s).'</dfn> ';
86
87
            if ($s = $o->getOperator()) {
88
                $header .= Kint_Object_Blob::escape($s, 'ASCII').' ';
89
            }
90
        }
91
92
        if (($s = $o->getType()) !== null) {
93
            $s = Kint_Object_Blob::escape($s);
@@ 92-100 (lines=9) @@
89
            }
90
        }
91
92
        if (($s = $o->getType()) !== null) {
93
            $s = Kint_Object_Blob::escape($s);
94
95
            if ($o->reference) {
96
                $s = '&amp;'.$s;
97
            }
98
99
            $header .= '<var>'.$s.'</var> ';
100
        }
101
102
        if (($s = $o->getSize()) !== null) {
103
            $header .= '('.Kint_Object_Blob::escape($s).') ';