@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Controller; |
| 4 | 4 | |
| 5 | +use Pagerfanta\Adapter\DoctrineORMAdapter; |
|
| 6 | +use Pagerfanta\Pagerfanta; |
|
| 5 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 8 | +use Symfony\AppBundle\Entity\User; |
|
| 6 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | 10 | use Symfony\Component\HttpFoundation\Request; |
| 8 | 11 | use Symfony\Component\HttpFoundation\Response; |
| 9 | -use Symfony\AppBundle\Entity\User; |
|
| 10 | -use Pagerfanta\Adapter\DoctrineORMAdapter; |
|
| 11 | -use Pagerfanta\Pagerfanta; |
|
| 12 | 12 | |
| 13 | 13 | class UserController extends Controller |
| 14 | 14 | { |
@@ -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 |