@@ -48,7 +48,6 @@ discard block |
||
| 48 | 48 | * |
| 49 | 49 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
| 50 | 50 | * |
| 51 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
| 52 | 51 | * |
| 53 | 52 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
| 54 | 53 | */ |
@@ -108,7 +107,6 @@ discard block |
||
| 108 | 107 | * |
| 109 | 108 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
| 110 | 109 | * |
| 111 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
| 112 | 110 | * |
| 113 | 111 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
| 114 | 112 | */ |
@@ -132,7 +130,6 @@ discard block |
||
| 132 | 130 | * |
| 133 | 131 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 134 | 132 | * |
| 135 | - * @param string|array(string) $... Either a string with a table name or an array of table names. |
|
| 136 | 133 | * |
| 137 | 134 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
| 138 | 135 | */ |
@@ -184,8 +181,6 @@ discard block |
||
| 184 | 181 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
| 185 | 182 | * invoked without preceding call to from(). |
| 186 | 183 | * |
| 187 | - * @param string $table2 ,... The table to join with, followed by either the |
|
| 188 | - * two join columns, or a join condition. |
|
| 189 | 184 | * |
| 190 | 185 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
| 191 | 186 | */ |
@@ -237,8 +232,6 @@ discard block |
||
| 237 | 232 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
| 238 | 233 | * invoked without preceding call to from(). |
| 239 | 234 | * |
| 240 | - * @param string $table2 ,... The table to join with, followed by either the |
|
| 241 | - * two join columns, or a join condition. |
|
| 242 | 235 | * |
| 243 | 236 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
| 244 | 237 | */ |
@@ -290,8 +283,6 @@ discard block |
||
| 290 | 283 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
| 291 | 284 | * invoked without preceding call to from(). |
| 292 | 285 | * |
| 293 | - * @param string $table2 ,... The table to join with, followed by either the |
|
| 294 | - * two join columns, or a join condition. |
|
| 295 | 286 | * |
| 296 | 287 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
| 297 | 288 | */ |
@@ -314,7 +305,6 @@ discard block |
||
| 314 | 305 | * |
| 315 | 306 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 316 | 307 | * |
| 317 | - * @param string|array(string) $... Either a string with a logical expression name or an array with logical expressions. |
|
| 318 | 308 | * |
| 319 | 309 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
| 320 | 310 | */ |
@@ -378,7 +368,6 @@ discard block |
||
| 378 | 368 | * |
| 379 | 369 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 380 | 370 | * |
| 381 | - * @param string $column a column name in the result set |
|
| 382 | 371 | * |
| 383 | 372 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
| 384 | 373 | */ |
@@ -399,7 +388,6 @@ discard block |
||
| 399 | 388 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException |
| 400 | 389 | * if called with no parameters. |
| 401 | 390 | * |
| 402 | - * @param string|array(string) $... Either a string with a logical expression name or an array with logical expressions. |
|
| 403 | 391 | * |
| 404 | 392 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
| 405 | 393 | */ |
@@ -55,7 +55,6 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 57 | 57 | * |
| 58 | - * @param string|array(string) $... Either a string with a logical expression name or an array with logical expressions. |
|
| 59 | 58 | * |
| 60 | 59 | * @return \eZ\Publish\Core\Persistence\Database\UpdateQuery |
| 61 | 60 | */ |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | private $strategies = []; |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @param \eZ\Publish\SPI\Repository\Strategy\ContentThumbnail\Field\FieldTypeBasedThumbnailStrategy[]|Traversable $strategies |
|
| 24 | + * @param Traversable $strategies |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct(Traversable $strategies) |
| 27 | 27 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | - * @param \eZ\Publish\SPI\Repository\Strategy\ContentThumbnail\Field\FieldTypeBasedThumbnailStrategy[]|Traversable $thumbnailStrategies |
|
| 69 | + * @param FieldTypeBasedThumbnailStrategy[] $thumbnailStrategies |
|
| 70 | 70 | */ |
| 71 | 71 | public function setStrategies(array $thumbnailStrategies): void |
| 72 | 72 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * @see loadMainLocationByContent |
| 57 | 57 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException |
| 58 | 58 | * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException |
| 59 | - * @param mixed $contentId |
|
| 59 | + * @param integer $contentId |
|
| 60 | 60 | * |
| 61 | 61 | * @return \eZ\Publish\API\Repository\Values\Content\Location|null |
| 62 | 62 | */ |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | * @param string $fieldDefIdentifier |
| 55 | 55 | * @param string $languageCode |
| 56 | 56 | * |
| 57 | - * @return mixed a primitive type or a field type Value object depending on the field type. |
|
| 57 | + * @return Value|null a primitive type or a field type Value object depending on the field type. |
|
| 58 | 58 | */ |
| 59 | 59 | public function getFieldValue(string $fieldDefIdentifier, ?string $languageCode = null): ?Value |
| 60 | 60 | { |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | * @param string $fieldDefIdentifier |
| 54 | 54 | * @param string|null $languageCode |
| 55 | 55 | * |
| 56 | - * @return mixed a primitive type or a field type Value object depending on the field type. |
|
| 56 | + * @return Value|null a primitive type or a field type Value object depending on the field type. |
|
| 57 | 57 | */ |
| 58 | 58 | public function getFieldValue(string $fieldDefIdentifier, ?string $languageCode = null): ?Value |
| 59 | 59 | { |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | * |
| 151 | 151 | * @param int $valueTypes The accepted values, as a bit field of Specifications::TYPE_* constants |
| 152 | 152 | * |
| 153 | - * @return callable |
|
| 153 | + * @return \Closure |
|
| 154 | 154 | */ |
| 155 | 155 | private function getValueTypeCheckCallback(int $valueTypes): callable |
| 156 | 156 | { |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * Will match of the given criterion doesn't match |
| 22 | 22 | * |
| 23 | - * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion[] $criteria One criterion, as an array |
|
| 23 | + * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion[] $criterion One criterion, as an array |
|
| 24 | 24 | * |
| 25 | 25 | * @throws \InvalidArgumentException if more than one criterion is given in the array parameter |
| 26 | 26 | */ |
@@ -27,16 +27,19 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * Begin a transaction. |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function beginTransaction(); |
| 32 | 33 | |
| 33 | 34 | /** |
| 34 | 35 | * Commit a transaction. |
| 36 | + * @return void |
|
| 35 | 37 | */ |
| 36 | 38 | public function commit(); |
| 37 | 39 | |
| 38 | 40 | /** |
| 39 | 41 | * Rollback a transaction. |
| 42 | + * @return void |
|
| 40 | 43 | */ |
| 41 | 44 | public function rollBack(); |
| 42 | 45 | |
@@ -60,6 +63,7 @@ discard block |
||
| 60 | 63 | * Execute a query against the database. |
| 61 | 64 | * |
| 62 | 65 | * @param string $query |
| 66 | + * @return void |
|
| 63 | 67 | */ |
| 64 | 68 | public function exec($query); |
| 65 | 69 | |
@@ -68,7 +72,7 @@ discard block |
||
| 68 | 72 | * |
| 69 | 73 | * Statements are ducktyped, but need to work like PDOStatement. |
| 70 | 74 | * |
| 71 | - * @return object |
|
| 75 | + * @return \Doctrine\DBAL\Driver\Statement |
|
| 72 | 76 | */ |
| 73 | 77 | public function prepare($query); |
| 74 | 78 | |
@@ -138,8 +142,9 @@ discard block |
||
| 138 | 142 | * |
| 139 | 143 | * This is an optimization and works around the ezcDB implementation. |
| 140 | 144 | * |
| 141 | - * @param string $identifier |
|
| 142 | 145 | * |
| 146 | + * @param string $name |
|
| 147 | + * @param string $alias |
|
| 143 | 148 | * @return string |
| 144 | 149 | */ |
| 145 | 150 | public function alias($name, $alias); |
@@ -185,7 +190,7 @@ discard block |
||
| 185 | 190 | /** |
| 186 | 191 | * Returns underlying connection (e.g. Doctrine connection object). |
| 187 | 192 | * |
| 188 | - * @return mixed |
|
| 193 | + * @return \Doctrine\DBAL\Connection |
|
| 189 | 194 | */ |
| 190 | 195 | public function getConnection(); |
| 191 | 196 | } |