@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanMenuExtensionTest extends AbstractExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanMenuExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanMultiDomainExtensionTest extends AbstractExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanMultiDomainExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanRedirectExtensionTest extends AbstractExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanRedirectExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanNodeExtensionTest extends AbstractExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanNodeExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanPagePartExtensionTest extends AbstractExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanPagePartExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanNodeSearchExtensionTest extends AbstractExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanNodeSearchExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | private $em; |
23 | 23 | |
24 | 24 | /** |
25 | - * @return \PHPUnit_Framework_MockObject_MockObject |
|
25 | + * @return \Doctrine\ORM\EntityManagerInterface |
|
26 | 26 | */ |
27 | 27 | private function getEm() |
28 | 28 | { |
@@ -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 | { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | * @param string $password The plain password |
79 | 79 | * @param string $email The email of the user |
80 | 80 | * @param string $locale The locale (language) of the user |
81 | - * @param array $roles The roles the user has |
|
81 | + * @param string[] $roles The roles the user has |
|
82 | 82 | * @param array $groups The groups the user belongs to |
83 | 83 | * @param bool $enabled Enable login for the user |
84 | 84 | * @param bool $changed Disable password changed for the user |