Code Duplication    Length = 5-6 lines in 2 locations

exercises/dependency-heaven/solution/vendor/composer/ClassLoader.php 2 locations

@@ 127-131 (lines=5) @@
124
        }
125
126
        $first = $prefix[0];
127
        if (!isset($this->prefixesPsr0[$first][$prefix])) {
128
            $this->prefixesPsr0[$first][$prefix] = (array) $paths;
129
130
            return;
131
        }
132
        if ($prepend) {
133
            $this->prefixesPsr0[$first][$prefix] = array_merge(
134
                (array) $paths,
@@ 137-142 (lines=6) @@
134
                (array) $paths,
135
                $this->prefixesPsr0[$first][$prefix]
136
            );
137
        } else {
138
            $this->prefixesPsr0[$first][$prefix] = array_merge(
139
                $this->prefixesPsr0[$first][$prefix],
140
                (array) $paths
141
            );
142
        }
143
    }
144
145
    /**