Code Duplication    Length = 6-6 lines in 2 locations

src/Asset/Asset.php 2 locations

@@ 522-527 (lines=6) @@
519
            /*
520
             * Compile LESS to CSS with PHP.
521
             */
522
            if ($filter == 'less' && $this->config->get('streams::assets.filters.less', 'php') == 'php') {
523
                $filter = new LessFilter($this->parser);
524
525
                continue;
526
            }
527
528
            /*
529
             * Compile LESS to CSS with Node.
530
             */
@@ 531-536 (lines=6) @@
528
            /*
529
             * Compile LESS to CSS with Node.
530
             */
531
            if ($filter == 'less' && $this->config->get('streams::assets.filters.less', 'php') == 'node') {
532
                $filter = new NodeLessFilter($this->parser);
533
534
                continue;
535
            }
536
537
            /*
538
             * Compile Stylus to CSS.
539
             */