@@ -381,6 +381,9 @@ discard block |
||
| 381 | 381 | return $request; |
| 382 | 382 | } |
| 383 | 383 | |
| 384 | + /** |
|
| 385 | + * @param string $uri |
|
| 386 | + */ |
|
| 384 | 387 | private function getRequestWithOverride($uri) |
| 385 | 388 | { |
| 386 | 389 | $session = new Session(new MockArraySessionStorage()); |
@@ -394,6 +397,9 @@ discard block |
||
| 394 | 397 | return $request; |
| 395 | 398 | } |
| 396 | 399 | |
| 400 | + /** |
|
| 401 | + * @param Request $request |
|
| 402 | + */ |
|
| 397 | 403 | private function getDomainConfiguration($request) |
| 398 | 404 | { |
| 399 | 405 | $hostMap = array( |
@@ -178,8 +178,8 @@ discard block |
||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @param $request |
|
| 182 | - * @param null $nodeTranslation |
|
| 181 | + * @param Request $request |
|
| 182 | + * @param NodeTranslation $nodeTranslation |
|
| 183 | 183 | * @return Container |
| 184 | 184 | */ |
| 185 | 185 | private function getContainer($request, $nodeTranslation = null) |
@@ -242,6 +242,9 @@ discard block |
||
| 242 | 242 | return $request; |
| 243 | 243 | } |
| 244 | 244 | |
| 245 | + /** |
|
| 246 | + * @param NodeTranslation $nodeTranslation |
|
| 247 | + */ |
|
| 245 | 248 | private function getEntityManager($nodeTranslation = null) |
| 246 | 249 | { |
| 247 | 250 | $em = $this->createMock('Doctrine\ORM\EntityManagerInterface'); |
@@ -86,6 +86,7 @@ |
||
| 86 | 86 | * Set owner |
| 87 | 87 | * |
| 88 | 88 | * @param string |
| 89 | + * @param string $owner |
|
| 89 | 90 | * |
| 90 | 91 | * @return NodeVersionLock |
| 91 | 92 | */ |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanNodeExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanNodeExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -65,6 +65,10 @@ |
||
| 65 | 65 | $object->match('/en/some-uri'); |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | + /** |
|
| 69 | + * @param Request|null $request |
|
| 70 | + * @param NodeTranslation $nodeTranslation |
|
| 71 | + */ |
|
| 68 | 72 | private function getContainer($request, $multiLanguage = false, $nodeTranslation = null) |
| 69 | 73 | { |
| 70 | 74 | $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface'); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @return array |
|
| 24 | + * @return string[] |
|
| 25 | 25 | */ |
| 26 | 26 | public function getAccessRoles() |
| 27 | 27 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanNodeSearchExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanNodeSearchExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanPagePartExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanPagePartExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | class KunstmaanRedirectExtensionTest extends AbstractPrependableExtensionTestCase |
| 14 | 14 | { |
| 15 | 15 | /** |
| 16 | - * @return ExtensionInterface[] |
|
| 16 | + * @return KunstmaanRedirectExtension[] |
|
| 17 | 17 | */ |
| 18 | 18 | protected function getContainerExtensions() |
| 19 | 19 | { |