@@ -143,6 +143,7 @@ discard block |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | + * @param string $semanticPath |
|
146 | 147 | * @return Request |
147 | 148 | */ |
148 | 149 | protected function createRequest($semanticPath, $host = 'localhost') |
@@ -154,7 +155,7 @@ discard block |
||
154 | 155 | } |
155 | 156 | |
156 | 157 | /** |
157 | - * @param $request |
|
158 | + * @param Request $request |
|
158 | 159 | * |
159 | 160 | * @return RequestEvent |
160 | 161 | */ |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway; |
13 | 13 | use eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct; |
14 | 14 | use eZ\Publish\SPI\Persistence\Content\Location\CreateStruct; |
15 | -use Doctrine\DBAL\DBALException; |
|
16 | 15 | use PDOException; |
17 | 16 | |
18 | 17 | /** |
@@ -1052,7 +1052,7 @@ discard block |
||
1052 | 1052 | * |
1053 | 1053 | * @param \eZ\Publish\API\Repository\Values\User\RoleCreateStruct $roleCreateStruct |
1054 | 1054 | * |
1055 | - * @return \eZ\Publish\Core\FieldType\ValidationError[][][] |
|
1055 | + * @return \eZ\Publish\Core\FieldType\ValidationError[] |
|
1056 | 1056 | * |
1057 | 1057 | * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException |
1058 | 1058 | */ |
@@ -1084,7 +1084,7 @@ discard block |
||
1084 | 1084 | * @param string $function |
1085 | 1085 | * @param \eZ\Publish\API\Repository\Values\User\Limitation[] $limitations |
1086 | 1086 | * |
1087 | - * @return \eZ\Publish\Core\FieldType\ValidationError[][] |
|
1087 | + * @return \eZ\Publish\Core\FieldType\ValidationError[] |
|
1088 | 1088 | */ |
1089 | 1089 | protected function validatePolicy(string $module, string $function, array $limitations): iterable |
1090 | 1090 | { |
@@ -90,7 +90,7 @@ |
||
90 | 90 | * |
91 | 91 | * Note that $id is identical to original location, which has been previously trashed |
92 | 92 | * |
93 | - * @param mixed $trashItemId |
|
93 | + * @param integer $trashItemId |
|
94 | 94 | * |
95 | 95 | * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to read the trashed location |
96 | 96 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException - if the location with the given id does not exist |
@@ -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 |