Code Duplication    Length = 10-10 lines in 2 locations

Tests/App/src/Acme/AppBundle/Controller/JediController.php 2 locations

@@ 28-37 (lines=10) @@
25
     * @Method("GET")
26
     * @Template()
27
     */
28
    public function indexAction()
29
    {
30
        $em = $this->getDoctrine()->getManager();
31
32
        $entities = $em->getRepository('AcmeAppBundle:Jedi')->findAll();
33
34
        return [
35
            'entities' => $entities,
36
        ];
37
    }
38
39
    /**
40
     * Creates a new Jedi entity.
@@ 259-268 (lines=10) @@
256
     * @Method("GET")
257
     * @Template()
258
     */
259
    public function indexFrontAction()
260
    {
261
        $em = $this->getDoctrine()->getManager();
262
263
        $entities = $em->getRepository('AcmeAppBundle:Jedi')->findAll();
264
265
        return [
266
            'entities' => $entities,
267
        ];
268
    }
269
270
    /**
271
     * Finds and displays a Jedi entity for front display.