1 | <?php |
||
20 | class BasePostRepository extends EntityRepository |
||
21 | { |
||
22 | /** |
||
23 | * return last post query builder. |
||
24 | * |
||
25 | * @param int $limit |
||
26 | * |
||
27 | * @return \Doctrine\ORM\QueryBuilder |
||
28 | */ |
||
29 | public function findLastPostQueryBuilder($limit) |
||
35 | |||
36 | /** |
||
37 | * return count comments QueryBuilder. |
||
38 | * |
||
39 | * @param PostInterface $post |
||
40 | * |
||
41 | * @return QueryBuilder |
||
42 | */ |
||
43 | public function countCommentsQuery($post) |
||
56 | } |
||
57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.