@@ -125,6 +125,9 @@ |
||
125 | 125 | $this->assertNull($this->provider->loadMainLocation($contentId)); |
126 | 126 | } |
127 | 127 | |
128 | + /** |
|
129 | + * @param integer $mainLocationId |
|
130 | + */ |
|
128 | 131 | private function getContentMock(int $contentId, ?int $mainLocationId = null, bool $published = false): Content |
129 | 132 | { |
130 | 133 | $contentInfo = new APIContentInfo([ |
@@ -15,6 +15,9 @@ |
||
15 | 15 | |
16 | 16 | abstract class AbstractViewTest extends TestCase |
17 | 17 | { |
18 | + /** |
|
19 | + * @param string $template |
|
20 | + */ |
|
18 | 21 | abstract protected function createViewUnderTest($template = null, array $parameters = [], $viewType = 'full'): View; |
19 | 22 | |
20 | 23 | /** |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | * @throws InvalidArgumentType On invalid $contentType |
242 | 242 | * |
243 | 243 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $spiFields |
244 | - * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType|\eZ\Publish\SPI\Persistence\Content\Type $contentType |
|
244 | + * @param ContentType $contentType |
|
245 | 245 | * @param array $prioritizedLanguages A language priority, filters returned fields and is used as prioritized language code on |
246 | 246 | * returned value object. If not given all languages are returned. |
247 | 247 | * @param string|null $alwaysAvailableLanguage Language code fallback if a given field is not found in $prioritizedLanguages |
@@ -684,7 +684,7 @@ discard block |
||
684 | 684 | * @param \eZ\Publish\API\Repository\Values\Content\Location $parentLocation |
685 | 685 | * @param mixed $mainLocation |
686 | 686 | * @param mixed $contentId |
687 | - * @param mixed $contentVersionNo |
|
687 | + * @param null|integer $contentVersionNo |
|
688 | 688 | * |
689 | 689 | * @return \eZ\Publish\SPI\Persistence\Content\Location\CreateStruct |
690 | 690 | */ |