Completed
Pull Request — master (#67)
by Matthew
02:54
created
src/AppBundle/Controller/RfXAnalysisController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
15 15
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
16 16
 use Symfony\Component\HttpFoundation\Request;
17
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
18 17
 use Xtools\ProjectRepository;
19 18
 use Xtools\RFA;
20 19
 
Please login to merge, or discard this patch.
src/AppBundle/Controller/RfXVoteCalculatorController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace AppBundle\Controller;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
-use Symfony\Component\CssSelector\Exception\InternalErrorException;
7
-use Symfony\Component\Debug\Exception\ContextErrorException;
8 6
 use Symfony\Component\HttpFoundation\Request;
9 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
10 8
 use Xtools\ProjectRepository;
Please login to merge, or discard this patch.
src/Xtools/RFA.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      * Returns matches.
21 21
      *
22 22
      * @param $input
23
-     * @param $matches
23
+     * @param string[] $matches
24 24
      *
25 25
      * @return int
26 26
      */
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
         return $this->userSectionFound;
86 86
     }
87 87
 
88
+    /**
89
+     * @param string $sectionName
90
+     */
88 91
     public function getSection($sectionName) {
89 92
         $sectionName = strtolower($sectionName);
90 93
         if (!isset($this->data[$sectionName])) {
Please login to merge, or discard this patch.