Completed
Pull Request — develop (#28)
by Axel
03:58
created
Manager/FeedbackManager.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace Developtech\AgilityBundle\Manager;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Developtech\AgilityBundle\Model\ProjectModel;
8 7
 use Developtech\AgilityBundle\Model\FeatureModel;
9
-
10 8
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
11 9
 
12 10
 class FeatureManager {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * @return FeedbackModel
37 37
      */
38 38
     public function getFeedback($id) {
39
-        if(($feedback = $this->em->getRepository($this->feedbackClass)->find($id)) === null) {
39
+        if (($feedback = $this->em->getRepository($this->feedbackClass)->find($id)) === null) {
40 40
             throw new NotFoundHttpException('Feedback not found');
41 41
         }
42 42
         return $feedback;
Please login to merge, or discard this patch.
Tests/Manager/FeedbackManagerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     }
78 78
 
79 79
     public function getFeatureMock($id) {
80
-        if($id === 2) {
80
+        if ($id === 2) {
81 81
             return null;
82 82
         }
83 83
         return
Please login to merge, or discard this patch.