@@ -3,10 +3,8 @@ |
||
| 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 { |
@@ -36,7 +36,7 @@ |
||
| 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; |
@@ -77,7 +77,7 @@ |
||
| 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 |