Code Duplication    Length = 7-8 lines in 2 locations

src/Parser.php 2 locations

@@ 101-108 (lines=8) @@
98
        $array = $o->transplant(new Kint_Object());
99
        $array->size = count($var);
100
101
        if (isset($var[$this->marker])) {
102
            --$array->size;
103
            $array->hints[] = 'recursion';
104
105
            $this->applyPlugins($var, $array, self::TRIGGER_RECURSION);
106
107
            return $array;
108
        }
109
110
        $rep = new Kint_Object_Representation('Contents');
111
        $rep->implicit_label = true;
@@ 203-209 (lines=7) @@
200
        $object->hash = $hash;
201
        $object->size = count($values);
202
203
        if (isset($this->object_hashes[$hash])) {
204
            $object->hints[] = 'recursion';
205
206
            $this->applyPlugins($var, $object, self::TRIGGER_RECURSION);
207
208
            return $object;
209
        }
210
211
        $this->object_hashes[$hash] = $object;
212