@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Entity; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\Mapping as ORM; |
|
| 6 | 5 | use AppBundle\Entity\User; |
| 7 | 6 | use AppBundle\Entity\Vote; |
| 8 | 7 | use Doctrine\Common\Collections\ArrayCollection; |
| 8 | +use Doctrine\ORM\Mapping as ORM; |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Poll |
@@ -2,11 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Entity; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\Mapping as ORM; |
|
| 6 | -use AppBundle\Entity\User; |
|
| 7 | -use AppBundle\Entity\Poll; |
|
| 8 | 5 | use AppBundle\Entity\Choice; |
| 9 | -use Doctrine\Common\Collections\ArrayCollection; |
|
| 6 | +use AppBundle\Entity\Poll; |
|
| 7 | +use AppBundle\Entity\User; |
|
| 8 | +use Doctrine\ORM\Mapping as ORM; |
|
| 10 | 9 | |
| 11 | 10 | /** |
| 12 | 11 | * Vote |
@@ -2,16 +2,16 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Controller; |
| 4 | 4 | |
| 5 | +use Pagerfanta\Adapter\DoctrineORMAdapter; |
|
| 6 | +use Pagerfanta\Pagerfanta; |
|
| 7 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
|
| 5 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 6 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 7 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
| 8 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
|
| 10 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
| 11 | +use Symfony\AppBundle\Entity\User; |
|
| 9 | 12 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 10 | 13 | use Symfony\Component\HttpFoundation\Request; |
| 11 | 14 | use Symfony\Component\HttpFoundation\Response; |
| 12 | -use Symfony\AppBundle\Entity\User; |
|
| 13 | -use Pagerfanta\Adapter\DoctrineORMAdapter; |
|
| 14 | -use Pagerfanta\Pagerfanta; |
|
| 15 | 15 | |
| 16 | 16 | class UserController extends Controller |
| 17 | 17 | { |