@@ -190,7 +190,7 @@ |
||
| 190 | 190 | /** |
| 191 | 191 | * Get category. |
| 192 | 192 | * |
| 193 | - * @return string |
|
| 193 | + * @return Category |
|
| 194 | 194 | */ |
| 195 | 195 | public function getCategory() |
| 196 | 196 | { |
@@ -156,8 +156,8 @@ |
||
| 156 | 156 | /** |
| 157 | 157 | * Get PageSeo. |
| 158 | 158 | * |
| 159 | - * @param string $method leftJoin|innerJoin |
|
| 160 | 159 | * |
| 160 | + * @param string $locale |
|
| 161 | 161 | * @return ViewRepository |
| 162 | 162 | */ |
| 163 | 163 | public function joinTranslations($locale) |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Victoire\Bundle\CoreBundle\Repository; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\Query; |
|
| 6 | 5 | use Doctrine\ORM\Query\Expr; |
| 7 | 6 | use Gedmo\Tree\Entity\Repository\NestedTreeRepository; |
| 8 | 7 | use Victoire\Bundle\CoreBundle\Entity\View; |