@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | * @throws InvalidArgumentType On invalid $contentType |
| 240 | 240 | * |
| 241 | 241 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $spiFields |
| 242 | - * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType|\eZ\Publish\SPI\Persistence\Content\Type $contentType |
|
| 242 | + * @param ContentType $contentType |
|
| 243 | 243 | * @param array $prioritizedLanguages A language priority, filters returned fields and is used as prioritized language code on |
| 244 | 244 | * returned value object. If not given all languages are returned. |
| 245 | 245 | * @param string|null $alwaysAvailableLanguage Language code fallback if a given field is not found in $prioritizedLanguages |
@@ -682,7 +682,7 @@ discard block |
||
| 682 | 682 | * @param \eZ\Publish\API\Repository\Values\Content\Location $parentLocation |
| 683 | 683 | * @param mixed $mainLocation |
| 684 | 684 | * @param mixed $contentId |
| 685 | - * @param mixed $contentVersionNo |
|
| 685 | + * @param null|integer $contentVersionNo |
|
| 686 | 686 | * @param bool $isContentHidden |
| 687 | 687 | * |
| 688 | 688 | * @return \eZ\Publish\SPI\Persistence\Content\Location\CreateStruct |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use eZ\Publish\Core\REST\Common\Input\BaseParser; |
| 10 | 10 | use eZ\Publish\Core\REST\Common\Input\ParsingDispatcher; |
| 11 | 11 | use eZ\Publish\Core\REST\Common\Input\ParserTools; |
| 12 | -use eZ\Publish\Core\REST\Common\Exceptions; |
|
| 13 | 12 | use eZ\Publish\API\Repository\LocationService; |
| 14 | 13 | use eZ\Publish\Core\REST\Server\Values\RestLocationUpdateStruct; |
| 15 | 14 | |