@@ -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; |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | * For the full copyright and license information, please view the LICENSE |
| 8 | 8 | * file that was distributed with this source code. |
| 9 | 9 | */ |
| 10 | -if (!($loader = @include __DIR__ . '/../vendor/autoload.php')) { |
|
| 10 | +if (!($loader = @include __DIR__.'/../vendor/autoload.php')) { |
|
| 11 | 11 | echo <<<EOT |
| 12 | 12 | You need to install the project dependencies using Composer: |
| 13 | 13 | $ wget http://getcomposer.org/composer.phar |