@@ -32,6 +32,7 @@ discard block |
||
32 | 32 | * {@inheritdoc} |
33 | 33 | * |
34 | 34 | * @deprecated |
35 | + * @param string $id |
|
35 | 36 | */ |
36 | 37 | protected function get($id) |
37 | 38 | { |
@@ -44,6 +45,7 @@ discard block |
||
44 | 45 | * {@inheritdoc} |
45 | 46 | * |
46 | 47 | * @deprecated |
48 | + * @param string $name |
|
47 | 49 | */ |
48 | 50 | protected function getParameter($name) |
49 | 51 | { |
@@ -56,7 +58,7 @@ discard block |
||
56 | 58 | /** |
57 | 59 | * You can override this method to return the correct entity manager when using multiple databases ... |
58 | 60 | * |
59 | - * @return \Doctrine\Common\Persistence\ObjectManager|object |
|
61 | + * @return \Doctrine\Common\Persistence\ObjectManager |
|
60 | 62 | */ |
61 | 63 | protected function getEntityManager() |
62 | 64 | { |
@@ -67,7 +69,7 @@ discard block |
||
67 | 69 | * Shows the list of entities |
68 | 70 | * |
69 | 71 | * @param AbstractAdminListConfigurator $configurator |
70 | - * @param null|Request $request |
|
72 | + * @param Request $request |
|
71 | 73 | * |
72 | 74 | * @return Response |
73 | 75 | */ |
@@ -119,7 +121,7 @@ discard block |
||
119 | 121 | * |
120 | 122 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
121 | 123 | * @param string $type The type to add |
122 | - * @param null|Request $request |
|
124 | + * @param Request $request |
|
123 | 125 | * |
124 | 126 | * @throws AccessDeniedHttpException |
125 | 127 | * |
@@ -214,7 +216,7 @@ discard block |
||
214 | 216 | * |
215 | 217 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
216 | 218 | * @param string $entityId The id of the entity that will be edited |
217 | - * @param null|Request $request |
|
219 | + * @param Request $request |
|
218 | 220 | * |
219 | 221 | * @throws NotFoundHttpException |
220 | 222 | * @throws AccessDeniedHttpException |
@@ -371,7 +373,7 @@ discard block |
||
371 | 373 | * |
372 | 374 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
373 | 375 | * @param integer $entityId The id to delete |
374 | - * @param null|Request $request |
|
376 | + * @param Request $request |
|
375 | 377 | * |
376 | 378 | * @throws NotFoundHttpException |
377 | 379 | * @throws AccessDeniedHttpException |
@@ -492,6 +494,9 @@ discard block |
||
492 | 494 | ); |
493 | 495 | } |
494 | 496 | |
497 | + /** |
|
498 | + * @param \Doctrine\Common\Persistence\ObjectRepository $repo |
|
499 | + */ |
|
495 | 500 | private function getMaxSortableField($repo, $sort) |
496 | 501 | { |
497 | 502 | $maxWeight = $repo->createQueryBuilder('i') |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
27 | - * @return mixed |
|
27 | + * @return boolean |
|
28 | 28 | */ |
29 | 29 | public function buildFields() |
30 | 30 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * @return Pagerfanta |
|
81 | + * @return string |
|
82 | 82 | */ |
83 | 83 | public function getPagerfanta() |
84 | 84 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @return mixed |
|
89 | + * @return ArrayIterator |
|
90 | 90 | */ |
91 | 91 | public function getIterator() |
92 | 92 | { |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | class DBAL extends AbstractDoctrineDBALAdminListConfigurator implements SortableInterface |
22 | 22 | { |
23 | 23 | /** |
24 | - * @return mixed |
|
24 | + * @return string |
|
25 | 25 | */ |
26 | 26 | public function getBundleName() |
27 | 27 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | - * @return mixed |
|
32 | + * @return string |
|
33 | 33 | */ |
34 | 34 | public function getEntityName() |
35 | 35 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
40 | - * @return mixed |
|
40 | + * @return boolean |
|
41 | 41 | */ |
42 | 42 | public function buildFields() |
43 | 43 | { |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | class ORM extends AbstractDoctrineORMAdminListConfigurator implements SortableInterface |
27 | 27 | { |
28 | 28 | /** |
29 | - * @return mixed |
|
29 | + * @return string |
|
30 | 30 | */ |
31 | 31 | public function getBundleName() |
32 | 32 | { |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
37 | - * @return mixed |
|
37 | + * @return string |
|
38 | 38 | */ |
39 | 39 | public function getEntityName() |
40 | 40 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return mixed |
|
45 | + * @return boolean |
|
46 | 46 | */ |
47 | 47 | public function buildFields() |
48 | 48 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanAdminListExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanAdminListExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | } |
115 | 115 | |
116 | 116 | /** |
117 | - * @param mixed $item |
|
117 | + * @param \Kunstmaan\NodeBundle\Helper\NodeMenuItem $item |
|
118 | 118 | * |
119 | 119 | * @return array |
120 | 120 | */ |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | /** |
133 | 133 | * Get the delete url for the given $item |
134 | 134 | * |
135 | - * @param object $item |
|
135 | + * @param \Kunstmaan\NodeBundle\Helper\NodeMenuItem $item |
|
136 | 136 | * |
137 | 137 | * @return array |
138 | 138 | */ |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * Set the summary of this article |
50 | - * @param $summary |
|
50 | + * @param string $summary |
|
51 | 51 | */ |
52 | 52 | public function setSummary($summary) |
53 | 53 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @return array |
|
89 | + * @return AbstractArticlePagePagePartAdminConfigurator[] |
|
90 | 90 | */ |
91 | 91 | public function getPagePartAdminConfigurations() |
92 | 92 | { |
@@ -19,6 +19,11 @@ discard block |
||
19 | 19 | /** @var EntityRepository */ |
20 | 20 | private $repo; |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $locale |
|
24 | + * @param string $permission |
|
25 | + * @param \PHPUnit_Framework_MockObject_MockObject $repo |
|
26 | + */ |
|
22 | 27 | public function __construct(EntityManager $em, AclHelper $aclHelper, $locale, $permission, $repo) |
23 | 28 | { |
24 | 29 | parent::__construct($em, $aclHelper, $locale, $permission); |
@@ -26,7 +31,7 @@ discard block |
||
26 | 31 | } |
27 | 32 | |
28 | 33 | /** |
29 | - * @return bool |
|
34 | + * @return EntityRepository |
|
30 | 35 | */ |
31 | 36 | public function getOverviewPageRepository() |
32 | 37 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanArticleExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanArticleExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |