Code Duplication    Length = 8-8 lines in 2 locations

src/Kunstmaan/GeneratorBundle/Generator/KunstmaanGenerator.php 2 locations

@@ 514-521 (lines=8) @@
511
    /**
512
     * @internal
513
     */
514
    protected function getTemplateDir(BundleInterface $bundle)
515
    {
516
        if ($this->isSymfony4()) {
517
            return $this->container->getParameter('kernel.project_dir') . '/templates';
518
        }
519
520
        return $bundle->getPath() . '/Resources/views';
521
    }
522
523
    /**
524
     * @internal
@@ 526-533 (lines=8) @@
523
    /**
524
     * @internal
525
     */
526
    protected function getAssetsDir(BundleInterface $bundle)
527
    {
528
        if ($this->isSymfony4()) {
529
            return $this->container->getParameter('kernel.project_dir') . '/assets';
530
        }
531
532
        return $bundle->getPath() . '/Resources';
533
    }
534
535
    /**
536
     * @internal