@@ -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 | */ |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\ArticleBundle\AdminList; |
4 | 4 | |
5 | -use Doctrine\ORM\EntityManager; |
|
6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
7 | 6 | use Doctrine\ORM\QueryBuilder; |
8 | 7 | use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper; |
@@ -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 | { |
@@ -59,7 +59,6 @@ discard block |
||
59 | 59 | * @param AuthorizationCheckerInterface $authorizationChecker |
60 | 60 | * @param EntityManagerInterface $em |
61 | 61 | * @param array $configuration |
62 | - * @param ContainerInterface $container |
|
63 | 62 | * @param FormFactoryInterface $formFactory |
64 | 63 | */ |
65 | 64 | public function __construct( |
@@ -94,7 +93,7 @@ discard block |
||
94 | 93 | * @param Request $request |
95 | 94 | * @param string $internalName |
96 | 95 | * |
97 | - * @return array|RedirectResponse |
|
96 | + * @return \Symfony\Component\HttpFoundation\Response |
|
98 | 97 | */ |
99 | 98 | public function indexAction(Request $request, $internalName) |
100 | 99 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanConfigExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanConfigExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |