@@ -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 | /** |
@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | public function countPerStatus(ProjectModel $project, $status) { |
21 | 21 | $statement = $this->getEntityManager()->getConnection()->prepare( |
22 | - "SELECT COUNT(*) as nb_feedbacks FROM {$this->getClassMetadata()->getTableName()} " . |
|
22 | + "SELECT COUNT(*) as nb_feedbacks FROM {$this->getClassMetadata()->getTableName()} ". |
|
23 | 23 | "WHERE project_id = :project_id AND status = :status" |
24 | 24 | ); |
25 | 25 | $statement->execute([ |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** @var ContainerInterface */ |
18 | 18 | private $container; |
19 | 19 | /** |
20 | - * @param ContainerInterface $container |
|
20 | + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container |
|
21 | 21 | */ |
22 | 22 | public function setContainer(ContainerInterface $container = null) { |
23 | 23 | $this->container = $container; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -$loader = @include __DIR__ . '/../vendor/autoload.php'; |
|
3 | +$loader = @include __DIR__.'/../vendor/autoload.php'; |
|
4 | 4 | if (!$loader) { |
5 | 5 | die(<<<'EOT' |
6 | 6 | You must set up the project dependencies, run the following commands: |