Code Duplication    Length = 11-11 lines in 2 locations

core/domain/entities/routing/handlers/admin/AdminRoute.php 1 location

@@ 44-54 (lines=11) @@
41
     * @param JsonDataNode                     $data_node
42
     * @param RouteMatchSpecificationInterface $specification
43
     */
44
    public function __construct(
45
        EE_Admin_Config $admin_config,
46
        EE_Dependency_Map $dependency_map,
47
        LoaderInterface $loader,
48
        RequestInterface $request,
49
        JsonDataNode $data_node = null,
50
        RouteMatchSpecificationInterface $specification = null
51
    ) {
52
        $this->admin_config = $admin_config;
53
        parent::__construct($dependency_map, $loader, $request, $data_node, $specification);
54
    }
55
56
57
    /**

core/domain/entities/routing/handlers/frontend/PublicRoute.php 1 location

@@ 44-54 (lines=11) @@
41
     * @param JsonDataNode        $data_node
42
     * @param RouteMatchSpecificationInterface $specification
43
     */
44
    public function __construct(
45
        EE_Maintenance_Mode $maintenance_mode,
46
        EE_Dependency_Map $dependency_map,
47
        LoaderInterface $loader,
48
        RequestInterface $request,
49
        JsonDataNode $data_node = null,
50
        RouteMatchSpecificationInterface $specification = null
51
    ) {
52
        $this->maintenance_mode = $maintenance_mode;
53
        parent::__construct($dependency_map, $loader, $request, $data_node, $specification);
54
    }
55
}
56