Code Duplication    Length = 8-8 lines in 2 locations

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

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