@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * Creates a Content from the given $struct and $currentVersionNo. |
58 | 58 | * |
59 | 59 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
60 | - * @param mixed $currentVersionNo |
|
60 | + * @param integer $currentVersionNo |
|
61 | 61 | * |
62 | 62 | * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo |
63 | 63 | */ |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * Creates a new version for the given $struct and $versionNo. |
93 | 93 | * |
94 | 94 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
95 | - * @param mixed $versionNo |
|
95 | + * @param integer $versionNo |
|
96 | 96 | * |
97 | 97 | * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo |
98 | 98 | */ |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | * Creates a new version for the given $content. |
126 | 126 | * |
127 | 127 | * @param \eZ\Publish\SPI\Persistence\Content $content |
128 | - * @param mixed $versionNo |
|
128 | + * @param integer $versionNo |
|
129 | 129 | * @param mixed $userId |
130 | 130 | * @param string|null $languageCode |
131 | 131 | * |
@@ -441,7 +441,6 @@ |
||
441 | 441 | * |
442 | 442 | * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo |
443 | 443 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
444 | - * @param \eZ\Publish\API\Repository\Values\User\User $user if set given user is used to create the draft - otherwise the current user is used |
|
445 | 444 | * @param \eZ\Publish\API\Repository\Values\Content\Language|null if not set the draft is created with the initialLanguage code of the source version or if not present with the main language. |
446 | 445 | * |
447 | 446 | * @return \eZ\Publish\API\Repository\Values\Content\Content - the newly created content draft |
@@ -441,7 +441,6 @@ |
||
441 | 441 | * |
442 | 442 | * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo |
443 | 443 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
444 | - * @param \eZ\Publish\API\Repository\Values\User\User $user if set given user is used to create the draft - otherwise the current user is used |
|
445 | 444 | * @param \eZ\Publish\API\Repository\Values\Content\Language|null if not set the draft is created with the initialLanguage code of the source version or if not present with the main language. |
446 | 445 | * |
447 | 446 | * @return \eZ\Publish\API\Repository\Values\Content\Content - the newly created content draft |