@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | * Inserts a new content object. |
| 121 | 121 | * |
| 122 | 122 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
| 123 | - * @param mixed $currentVersionNo |
|
| 123 | + * @param integer $currentVersionNo |
|
| 124 | 124 | * |
| 125 | 125 | * @return int ID |
| 126 | 126 | */ |
@@ -1237,7 +1237,7 @@ discard block |
||
| 1237 | 1237 | * |
| 1238 | 1238 | * Result is returned with oldest version first (using version id as it has index and is auto increment). |
| 1239 | 1239 | * |
| 1240 | - * @param mixed $contentId |
|
| 1240 | + * @param integer $contentId |
|
| 1241 | 1241 | * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}. |
| 1242 | 1242 | * @param int $limit Limit for items returned, -1 means none. |
| 1243 | 1243 | * |
@@ -1305,7 +1305,7 @@ discard block |
||
| 1305 | 1305 | /** |
| 1306 | 1306 | * Returns all version numbers for the given $contentId. |
| 1307 | 1307 | * |
| 1308 | - * @param mixed $contentId |
|
| 1308 | + * @param integer $contentId |
|
| 1309 | 1309 | * |
| 1310 | 1310 | * @return int[] |
| 1311 | 1311 | */ |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException - if the version with the given number does not exist |
| 223 | 223 | * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to load this version |
| 224 | 224 | * |
| 225 | - * @param mixed $contentId |
|
| 225 | + * @param integer $contentId |
|
| 226 | 226 | * @param int $versionNo the version number. If not given the current version is returned. |
| 227 | 227 | * |
| 228 | 228 | * @return \eZ\Publish\API\Repository\Values\Content\VersionInfo |
@@ -1602,7 +1602,7 @@ discard block |
||
| 1602 | 1602 | |
| 1603 | 1603 | /** |
| 1604 | 1604 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
| 1605 | - * @param array $translations |
|
| 1605 | + * @param string[] $translations |
|
| 1606 | 1606 | * |
| 1607 | 1607 | * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException |
| 1608 | 1608 | * @throws \eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException |