Code Duplication    Length = 8-8 lines in 2 locations

src/Eccube/Application.php 2 locations

@@ 649-656 (lines=8) @@
646
            return $handler;
647
        });
648
649
        $app['security.authentication.failure_handler.admin'] = $app->share(function ($app) {
650
            return new \Eccube\Security\Http\Authentication\EccubeAuthenticationFailureHandler(
651
                $app,
652
                $app['security.http_utils'],
653
                $app['security.firewalls']['admin']['form'],
654
                $app['logger']
655
            );
656
        });
657
658
        $app['security.authentication.success_handler.customer'] = $app->share(function ($app) {
659
            $handler = new \Eccube\Security\Http\Authentication\EccubeAuthenticationSuccessHandler(
@@ 669-676 (lines=8) @@
666
            return $handler;
667
        });
668
669
        $app['security.authentication.failure_handler.customer'] = $app->share(function ($app) {
670
            return new \Eccube\Security\Http\Authentication\EccubeAuthenticationFailureHandler(
671
                $app,
672
                $app['security.http_utils'],
673
                $app['security.firewalls']['customer']['form'],
674
                $app['logger']
675
            );
676
        });
677
    }
678
679
    /**