| 1 | <?php |
||
| 16 | class BasePostRepository extends EntityRepository |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * return last post query builder. |
||
| 20 | * |
||
| 21 | * @param int $limit |
||
| 22 | * |
||
| 23 | * @return \Doctrine\ORM\QueryBuilder |
||
| 24 | */ |
||
| 25 | public function findLastPostQueryBuilder($limit) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * return count comments QueryBuilder. |
||
| 34 | * |
||
| 35 | * @param Sonata\NewsBundle\Model\PostInterface |
||
| 36 | * |
||
| 37 | * @return \Doctrine\ORM\QueryBuilder |
||
| 38 | */ |
||
| 39 | public function countCommentsQuery($post) |
||
| 47 | } |
||
| 48 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.