@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * You can override this method to return the correct entity manager when using multiple databases ... |
35 | 35 | * |
36 | - * @return \Doctrine\Common\Persistence\ObjectManager|object |
|
36 | + * @return \Doctrine\Persistence\ObjectManager |
|
37 | 37 | */ |
38 | 38 | protected function getEntityManager() |
39 | 39 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * Shows the list of entities |
45 | 45 | * |
46 | 46 | * @param AbstractAdminListConfigurator $configurator |
47 | - * @param Request|null $request |
|
47 | + * @param Request $request |
|
48 | 48 | * |
49 | 49 | * @return Response |
50 | 50 | */ |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | * |
94 | 94 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
95 | 95 | * @param string $type The type to add |
96 | - * @param Request|null $request |
|
96 | + * @param Request $request |
|
97 | 97 | * |
98 | 98 | * @throws AccessDeniedHttpException |
99 | 99 | * |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | * |
189 | 189 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
190 | 190 | * @param string $entityId The id of the entity that will be edited |
191 | - * @param Request|null $request |
|
191 | + * @param Request $request |
|
192 | 192 | * |
193 | 193 | * @throws NotFoundHttpException |
194 | 194 | * @throws AccessDeniedHttpException |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | * |
343 | 343 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
344 | 344 | * @param int $entityId The id to delete |
345 | - * @param Request|null $request |
|
345 | + * @param Request $request |
|
346 | 346 | * |
347 | 347 | * @throws NotFoundHttpException |
348 | 348 | * @throws AccessDeniedHttpException |
@@ -469,6 +469,9 @@ discard block |
||
469 | 469 | ); |
470 | 470 | } |
471 | 471 | |
472 | + /** |
|
473 | + * @param \Doctrine\Persistence\ObjectRepository $repo |
|
474 | + */ |
|
472 | 475 | private function getMaxSortableField($repo, $sort) |
473 | 476 | { |
474 | 477 | $maxWeight = $repo->createQueryBuilder('i') |
@@ -156,7 +156,7 @@ |
||
156 | 156 | } |
157 | 157 | |
158 | 158 | /** |
159 | - * @param NodeMenuItem|false|null $parent |
|
159 | + * @param NodeMenuItem $parent |
|
160 | 160 | */ |
161 | 161 | public function setParent($parent = false) |
162 | 162 | { |