Code Duplication    Length = 12-12 lines in 2 locations

Admin/DatabaseQueryAdmin.php 1 location

@@ 57-68 (lines=12) @@
54
    /**
55
     * @param ShowMapper $showMapper
56
     */
57
    protected function configureShowFields(ShowMapper $showMapper)
58
    {
59
        $showMapper
60
            ->add('id')
61
            ->add('created')
62
            ->add('query')
63
            ->add('parameters')
64
            ->add('stackTrace')
65
            ->add('time')
66
            ->add('request', null, ['template' => 'DakenReleaseProfilerBundle:Admin:error_request_field.html.twig'])
67
        ;
68
    }
69
70
    protected function configureRoutes(RouteCollection $collection)
71
    {

Admin/ErrorAdmin.php 1 location

@@ 51-62 (lines=12) @@
48
    /**
49
     * @param ShowMapper $showMapper
50
     */
51
    protected function configureShowFields(ShowMapper $showMapper)
52
    {
53
        $showMapper
54
            ->add('id')
55
            ->add('created')
56
            ->add('request', null, ['template' => 'DakenReleaseProfilerBundle:Admin:error_request_field.html.twig'])
57
            ->add('error')
58
            ->add('filename')
59
            ->add('lineNumber')
60
            ->add('stackTrace')
61
        ;
62
    }
63
64
    protected function configureRoutes(RouteCollection $collection)
65
    {