@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | * |
160 | 160 | * @param Request $request A Symfony request |
161 | 161 | * |
162 | - * @return Post |
|
162 | + * @return FormInterface |
|
163 | 163 | * |
164 | 164 | * @throws NotFoundHttpException |
165 | 165 | */ |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | * @param int $id A Post identifier |
190 | 190 | * @param Request $request A Symfony request |
191 | 191 | * |
192 | - * @return Post |
|
192 | + * @return FormInterface |
|
193 | 193 | * |
194 | 194 | * @throws NotFoundHttpException |
195 | 195 | */ |
@@ -78,6 +78,8 @@ |
||
78 | 78 | |
79 | 79 | /** |
80 | 80 | * {@inheritdoc} |
81 | + * @param string $date |
|
82 | + * @param string $step |
|
81 | 83 | */ |
82 | 84 | public function getPublicationDateQueryParts($date, $step, $alias = 'p') |
83 | 85 | { |
@@ -87,6 +87,7 @@ |
||
87 | 87 | * author - 'NULL', 'NOT NULL', id, array of ids |
88 | 88 | * collections - CollectionInterface |
89 | 89 | * mode - string public|admin |
90 | + * @param integer $page |
|
90 | 91 | */ |
91 | 92 | public function getPager(array $criteria, $page, $limit = 10, array $sort = array()) |
92 | 93 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Sonata\DatagridBundle\Pager\Doctrine\Pager; |
18 | 18 | use Sonata\DatagridBundle\ProxyQuery\Doctrine\ProxyQuery; |
19 | 19 | use Sonata\NewsBundle\Model\BlogInterface; |
20 | -use Sonata\NewsBundle\Model\PostInterface; |
|
21 | 20 | use Sonata\NewsBundle\Model\PostManagerInterface; |
22 | 21 | |
23 | 22 | class PostManager extends BaseEntityManager implements PostManagerInterface |
@@ -54,7 +54,7 @@ |
||
54 | 54 | /** |
55 | 55 | * Returns a list of functions to add to the existing list. |
56 | 56 | * |
57 | - * @return array An array of functions |
|
57 | + * @return \Twig_SimpleFunction[] An array of functions |
|
58 | 58 | */ |
59 | 59 | public function getFunctions() |
60 | 60 | { |