Code Duplication    Length = 9-9 lines in 2 locations

src/system/ThemeModule/Engine/Asset/Merger.php 2 locations

@@ 192-200 (lines=9) @@
189
                                }
190
                                // fix url
191
                                $url = dirname($file) . '/' . $url;
192
                                if (!$wasCommentHack) {
193
                                    // clear buffer
194
                                    $contents[] = $newLine;
195
                                    $newLine = '';
196
                                    // process include
197
                                    $this->readFile($contents, $url, $ext);
198
                                } else {
199
                                    $newLine .= '@import url("' . $url . '");';
200
                                }
201
                                // skip @import statement
202
                                $i += $posEnd - $i;
203
                            } else {
@@ 226-234 (lines=9) @@
223
                            $posEnd = strpos($lineParse, ';', $i);
224
                            // fix url
225
                            $url = dirname($file) . '/' . $url;
226
                            if (!$wasCommentHack) {
227
                                // clear buffer
228
                                $contents[] = $newLine;
229
                                $newLine = '';
230
                                // process include
231
                                self::readFile($contents, $url, $ext);
232
                            } else {
233
                                $newLine .= '@import url("' . $url . '");';
234
                            }
235
                            // skip @import statement
236
                            $i += $posEnd - $i;
237
                        }