@@ -3,12 +3,9 @@ |
||
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 | - |
|
12 | 9 | use Developtech\AgilityBundle\Utils\Slugger; |
13 | 10 | |
14 | 11 | class FeatureManager { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @param ProjectModel $project |
|
52 | + * @param ProjectModel $project |
|
53 | 53 | * @param string $name |
54 | 54 | * @param string $description |
55 | 55 | * @param integer $status |
@@ -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; |
@@ -3,13 +3,9 @@ |
||
3 | 3 | namespace Developtech\AgilityBundle\Manager; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Developtech\AgilityBundle\Entity\Project; |
8 | - |
|
9 | 7 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
10 | - |
|
11 | 8 | use Symfony\Component\Security\Core\User\UserInterface; |
12 | - |
|
13 | 9 | use Developtech\AgilityBundle\Utils\Slugger; |
14 | 10 | |
15 | 11 | class ProjectManager { |