@@ -116,9 +116,9 @@ discard block |
||
| 116 | 116 | * Inserts a new content object. |
| 117 | 117 | * |
| 118 | 118 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
| 119 | - * @param mixed $currentVersionNo |
|
| 119 | + * @param integer $currentVersionNo |
|
| 120 | 120 | * |
| 121 | - * @return int ID |
|
| 121 | + * @return string ID |
|
| 122 | 122 | */ |
| 123 | 123 | public function insertContentObject(CreateStruct $struct, $currentVersionNo = 1) |
| 124 | 124 | { |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo |
| 219 | 219 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields |
| 220 | 220 | * |
| 221 | - * @return int ID |
|
| 221 | + * @return string ID |
|
| 222 | 222 | */ |
| 223 | 223 | public function insertVersion(VersionInfo $versionInfo, array $fields) |
| 224 | 224 | { |
@@ -612,7 +612,7 @@ discard block |
||
| 612 | 612 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 613 | 613 | * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue $value |
| 614 | 614 | * |
| 615 | - * @return int ID |
|
| 615 | + * @return string ID |
|
| 616 | 616 | */ |
| 617 | 617 | public function insertNewField(Content $content, Field $field, StorageFieldValue $value) |
| 618 | 618 | { |
@@ -822,8 +822,8 @@ discard block |
||
| 822 | 822 | * |
| 823 | 823 | * Returns an array with the relevant data. |
| 824 | 824 | * |
| 825 | - * @param mixed $contentId |
|
| 826 | - * @param mixed $version |
|
| 825 | + * @param integer $contentId |
|
| 826 | + * @param integer $version |
|
| 827 | 827 | * @param string[] $translations |
| 828 | 828 | * |
| 829 | 829 | * @return array |
@@ -995,7 +995,7 @@ discard block |
||
| 995 | 995 | * |
| 996 | 996 | * Result is returned with oldest version first (using version id as it has index and is auto increment). |
| 997 | 997 | * |
| 998 | - * @param mixed $contentId |
|
| 998 | + * @param integer $contentId |
|
| 999 | 999 | * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}. |
| 1000 | 1000 | * @param int $limit Limit for items returned, -1 means none. |
| 1001 | 1001 | * |
@@ -1063,7 +1063,7 @@ discard block |
||
| 1063 | 1063 | /** |
| 1064 | 1064 | * Returns all version numbers for the given $contentId. |
| 1065 | 1065 | * |
| 1066 | - * @param mixed $contentId |
|
| 1066 | + * @param integer $contentId |
|
| 1067 | 1067 | * |
| 1068 | 1068 | * @return int[] |
| 1069 | 1069 | */ |
@@ -1701,7 +1701,7 @@ discard block |
||
| 1701 | 1701 | * |
| 1702 | 1702 | * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct |
| 1703 | 1703 | * |
| 1704 | - * @return int ID the inserted ID |
|
| 1704 | + * @return string ID the inserted ID |
|
| 1705 | 1705 | */ |
| 1706 | 1706 | public function insertRelation(RelationCreateStruct $createStruct) |
| 1707 | 1707 | { |
@@ -1947,8 +1947,8 @@ discard block |
||
| 1947 | 1947 | /** |
| 1948 | 1948 | * Delete translation from the ezcontentobject_name table. |
| 1949 | 1949 | * |
| 1950 | - * @param $contentId |
|
| 1951 | - * @param $languageCode |
|
| 1950 | + * @param integer $contentId |
|
| 1951 | + * @param string $languageCode |
|
| 1952 | 1952 | */ |
| 1953 | 1953 | private function deleteTranslationFromContentNames($contentId, $languageCode) |
| 1954 | 1954 | { |