Completed
Push — master ( 9db26b...a06708 )
by Michael
04:04
created
src/AppBundle/Controller/UserController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Pagerfanta\Pagerfanta;
8 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
9 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
10
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
11 10
 use Symfony\AppBundle\Entity\User;
12 11
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
13 12
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
src/AppBundle/Controller/VoteController.php 2 patches
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,16 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Controller;
4 4
 
5
+use AppBundle\Entity\Poll;
5 6
 use Pagerfanta\Adapter\ArrayAdapter;
6
-use Pagerfanta\Adapter\DoctrineORMAdapter;
7 7
 use Pagerfanta\Pagerfanta;
8
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
9 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
10
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
11 9
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
12 10
 use Symfony\Component\HttpFoundation\Request;
13 11
 use Symfony\Component\HttpFoundation\Response;
14
-use AppBundle\Entity\Poll;
15 12
 
16 13
 class VoteController extends Controller
17 14
 {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,11 +33,11 @@
 block discarded – undo
33 33
      */
34 34
     protected function getCurrentPolls(): array
35 35
     {
36
-    	$currentPolls = $this->getDoctrine()
37
-    		->getRepository('AppBundle:Poll')
38
-    		->findByActive(true);
36
+        $currentPolls = $this->getDoctrine()
37
+            ->getRepository('AppBundle:Poll')
38
+            ->findByActive(true);
39 39
 
40
-    	return $currentPolls;
40
+        return $currentPolls;
41 41
     }
42 42
 
43 43
     /**
Please login to merge, or discard this patch.