@@ -57,7 +57,7 @@ |
||
57 | 57 | /** |
58 | 58 | * Generates a language mask from pre-loaded Language Ids. |
59 | 59 | * |
60 | - * @param array $languageIds |
|
60 | + * @param integer[] $languageIds |
|
61 | 61 | * @param bool $alwaysAvailable |
62 | 62 | * |
63 | 63 | * @return int |
@@ -525,6 +525,11 @@ |
||
525 | 525 | $relationProcessor->processFieldRelations([], 24, 2, $contentTypeMock, $existingRelations); |
526 | 526 | } |
527 | 527 | |
528 | + /** |
|
529 | + * @param integer $id |
|
530 | + * @param null|integer $fieldDefinitionId |
|
531 | + * @param integer $contentId |
|
532 | + */ |
|
528 | 533 | protected function getStubbedRelation($id, $type, $fieldDefinitionId, $contentId) |
529 | 534 | { |
530 | 535 | return new \eZ\Publish\Core\Repository\Values\Content\Relation( |
@@ -368,9 +368,9 @@ |
||
368 | 368 | * For use when generating cache, not on invalidation. |
369 | 369 | * |
370 | 370 | * @param \eZ\Publish\SPI\Persistence\Content\UrlAlias $urlAlias |
371 | - * @param array $tags Optional, can be used to specify other tags. |
|
371 | + * @param string[] $tags Optional, can be used to specify other tags. |
|
372 | 372 | * |
373 | - * @return array |
|
373 | + * @return string[] |
|
374 | 374 | */ |
375 | 375 | private function getCacheTags(UrlAlias $urlAlias, array $tags = []) |
376 | 376 | { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * NOT take care for test case wide caching of the field type, just return |
61 | 61 | * a new instance from this method! |
62 | 62 | * |
63 | - * @return FieldType |
|
63 | + * @return PageType |
|
64 | 64 | */ |
65 | 65 | protected function createFieldTypeUnderTest() |
66 | 66 | { |
@@ -9,10 +9,9 @@ |
||
9 | 9 | namespace eZ\Publish\Core\MVC\Symfony\SiteAccess\Tests; |
10 | 10 | |
11 | 11 | use eZ\Publish\Core\MVC\Symfony\SiteAccess; |
12 | -use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIText; |
|
12 | +use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIText as URITextMatcher; |
|
13 | 13 | use PHPUnit\Framework\TestCase; |
14 | 14 | use eZ\Publish\Core\MVC\Symfony\SiteAccess\Router; |
15 | -use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIText as URITextMatcher; |
|
16 | 15 | use eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest; |
17 | 16 | use eZ\Publish\Core\MVC\Symfony\SiteAccess\MatcherBuilder; |
18 | 17 | use Psr\Log\LoggerInterface; |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | } |
163 | 163 | |
164 | 164 | /** |
165 | - * @param int $languageMask |
|
165 | + * @param int $langMask |
|
166 | 166 | * @param bool $expectedResult |
167 | 167 | * |
168 | 168 | * @covers \eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator::isAlwaysAvailable |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | /** |
265 | 265 | * Returns a language handler mock. |
266 | 266 | * |
267 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler |
|
267 | + * @return LanguageHandler |
|
268 | 268 | */ |
269 | 269 | protected function getLanguageHandler() |
270 | 270 | { |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | namespace eZ\Publish\Core\Persistence\Legacy\Tests\Content; |
10 | 10 | |
11 | 11 | use eZ\Publish\Core\Persistence\Legacy\Tests\TestCase; |
12 | -use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler; |
|
12 | +use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler as LocationHandler; |
|
13 | 13 | use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway; |
14 | 14 | use eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct; |
15 | 15 | use eZ\Publish\SPI\Persistence\Content\Location\CreateStruct; |
@@ -23,7 +23,6 @@ discard block |
||
23 | 23 | use eZ\Publish\SPI\Persistence\Content\ObjectState; |
24 | 24 | use eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler as ObjectStateHandler; |
25 | 25 | use eZ\Publish\SPI\Persistence\Content\ObjectState\Group as ObjectStateGroup; |
26 | -use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler as LocationHandler; |
|
27 | 26 | |
28 | 27 | /** |
29 | 28 | * Test case for LocationHandlerTest. |
@@ -687,7 +687,7 @@ |
||
687 | 687 | * |
688 | 688 | * @param string[] $methods |
689 | 689 | * |
690 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler |
|
690 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
691 | 691 | */ |
692 | 692 | protected function getPartlyMockedHandler(array $methods) |
693 | 693 | { |
@@ -602,7 +602,7 @@ |
||
602 | 602 | /** |
603 | 603 | * Returns a language handler mock. |
604 | 604 | * |
605 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler |
|
605 | + * @return Language\Handler |
|
606 | 606 | */ |
607 | 607 | protected function getLanguageHandler() |
608 | 608 | { |
@@ -182,7 +182,7 @@ |
||
182 | 182 | /** |
183 | 183 | * Returns a context mock. |
184 | 184 | * |
185 | - * @return array |
|
185 | + * @return integer[] |
|
186 | 186 | */ |
187 | 187 | protected function getContextMock() |
188 | 188 | { |