@@ -41,13 +41,13 @@ |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @param ProjectModel $project |
|
45 | - * @param UserInterface $author |
|
46 | - * @param array $orderBy |
|
47 | - * @param integer $limit |
|
48 | - * @param integer $offset |
|
49 | - * @return array |
|
50 | - */ |
|
44 | + * @param ProjectModel $project |
|
45 | + * @param UserInterface $author |
|
46 | + * @param array $orderBy |
|
47 | + * @param integer $limit |
|
48 | + * @param integer $offset |
|
49 | + * @return array |
|
50 | + */ |
|
51 | 51 | public function getProjectFeedbacksByAuthor(ProjectModel $project, UserInterface $author, $orderBy = null, $limit = null, $offset = null) { |
52 | 52 | return $this->em->getRepository($this->feedbackClass)->findBy([ |
53 | 53 | 'project' => $project, |
@@ -3,16 +3,11 @@ |
||
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\FeedbackModel; |
9 | - |
|
10 | 8 | use Developtech\AgilityBundle\Entity\Feedback; |
11 | - |
|
12 | 9 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
13 | - |
|
14 | 10 | use Developtech\AgilityBundle\Utils\Slugger; |
15 | - |
|
16 | 11 | use Symfony\Component\Security\Core\User\UserInterface; |
17 | 12 | |
18 | 13 | class FeedbackManager { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Developtech\AgilityBundle\Manager; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Developtech\AgilityBundle\Model\ProjectModel; |
8 | 7 | |
9 | 8 | class FeedbackManager { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Developtech\AgilityBundle\Model; |
4 | 4 | |
5 | -use Doctrine\ORM\Mapping as ORM; |
|
6 | - |
|
7 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
8 | 6 | |
9 | 7 | /** |