Code Duplication    Length = 6-6 lines in 2 locations

src/Asset/Asset.php 2 locations

@@ 534-539 (lines=6) @@
531
            /*
532
             * Compile LESS to CSS with PHP.
533
             */
534
            if ($filter == 'less' && $this->config->get('streams::assets.filters.less', 'php') == 'php') {
535
                $filter = new LessFilter($this->parser);
536
537
                continue;
538
            }
539
540
            /*
541
             * Compile LESS to CSS with Node.
542
             */
@@ 543-548 (lines=6) @@
540
            /*
541
             * Compile LESS to CSS with Node.
542
             */
543
            if ($filter == 'less' && $this->config->get('streams::assets.filters.less', 'php') == 'node') {
544
                $filter = new NodeLessFilter($this->parser);
545
546
                continue;
547
            }
548
549
            /*
550
             * Compile Stylus to CSS.
551
             */