@@ -81,7 +81,6 @@ discard block |
||
81 | 81 | * |
82 | 82 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
83 | 83 | * |
84 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
85 | 84 | * |
86 | 85 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
87 | 86 | */ |
@@ -153,7 +152,6 @@ discard block |
||
153 | 152 | * |
154 | 153 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
155 | 154 | * |
156 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
157 | 155 | * |
158 | 156 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
159 | 157 | */ |
@@ -182,7 +180,6 @@ discard block |
||
182 | 180 | * |
183 | 181 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
184 | 182 | * |
185 | - * @param string|array(string) $... Either a string with a table name or an array of table names. |
|
186 | 183 | * |
187 | 184 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
188 | 185 | */ |
@@ -246,8 +243,6 @@ discard block |
||
246 | 243 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
247 | 244 | * invoked without preceding call to from(). |
248 | 245 | * |
249 | - * @param string $table2,... The table to join with, followed by either the |
|
250 | - * two join columns, or a join condition. |
|
251 | 246 | * |
252 | 247 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
253 | 248 | */ |
@@ -334,8 +329,6 @@ discard block |
||
334 | 329 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
335 | 330 | * invoked without preceding call to from(). |
336 | 331 | * |
337 | - * @param string $table2,... The table to join with, followed by either the |
|
338 | - * two join columns, or a join condition. |
|
339 | 332 | * |
340 | 333 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
341 | 334 | */ |
@@ -390,8 +383,6 @@ discard block |
||
390 | 383 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
391 | 384 | * invoked without preceding call to from(). |
392 | 385 | * |
393 | - * @param string $table2,... The table to join with, followed by either the |
|
394 | - * two join columns, or a join condition. |
|
395 | 386 | * |
396 | 387 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
397 | 388 | */ |
@@ -417,8 +408,6 @@ discard block |
||
417 | 408 | * |
418 | 409 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
419 | 410 | * |
420 | - * @param string|array(string) $... Either a string with a logical expression name |
|
421 | - * or an array with logical expressions. |
|
422 | 411 | * |
423 | 412 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
424 | 413 | */ |
@@ -509,7 +498,6 @@ discard block |
||
509 | 498 | * |
510 | 499 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
511 | 500 | * |
512 | - * @param string $column a column name in the result set |
|
513 | 501 | * |
514 | 502 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
515 | 503 | */ |
@@ -539,8 +527,6 @@ discard block |
||
539 | 527 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException |
540 | 528 | * if called with no parameters. |
541 | 529 | * |
542 | - * @param string|array(string) $... Either a string with a logical expression name |
|
543 | - * or an array with logical expressions. |
|
544 | 530 | * |
545 | 531 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
546 | 532 | */ |
@@ -79,8 +79,6 @@ |
||
79 | 79 | * |
80 | 80 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
81 | 81 | * |
82 | - * @param string|array(string) $... Either a string with a logical expression name |
|
83 | - * or an array with logical expressions. |
|
84 | 82 | * |
85 | 83 | * @return \eZ\Publish\Core\Persistence\Database\UpdateQuery |
86 | 84 | */ |
@@ -416,7 +416,7 @@ discard block |
||
416 | 416 | /** |
417 | 417 | * For given $languageIds returns array with language codes as keys. |
418 | 418 | * |
419 | - * @param array $languageIds |
|
419 | + * @param integer[] $languageIds |
|
420 | 420 | * |
421 | 421 | * @return array |
422 | 422 | */ |
@@ -436,7 +436,7 @@ discard block |
||
436 | 436 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields |
437 | 437 | * @param array $languageCodes |
438 | 438 | * |
439 | - * @return \eZ\Publish\SPI\Persistence\Content\Field[][] |
|
439 | + * @return Content |
|
440 | 440 | */ |
441 | 441 | protected function getFieldMap(array $fields, &$languageCodes = null) |
442 | 442 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @note Class should instead be configured as service if it gains dependencies. |
30 | 30 | * |
31 | - * @return Float |
|
31 | + * @return FloatConverter |
|
32 | 32 | */ |
33 | 33 | public static function create() |
34 | 34 | { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | * "sort_key_int" or "sort_key_string". This column is then used for |
68 | 68 | * filtering and sorting for this type. |
69 | 69 | * |
70 | - * @return string |
|
70 | + * @return boolean |
|
71 | 71 | */ |
72 | 72 | public function getIndexColumn() |
73 | 73 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * "sort_key_int" or "sort_key_string". This column is then used for |
84 | 84 | * filtering and sorting for this type. |
85 | 85 | * |
86 | - * @return string |
|
86 | + * @return boolean |
|
87 | 87 | */ |
88 | 88 | public function getIndexColumn() |
89 | 89 | { |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | * @param \eZ\Publish\Core\FieldType\Page\Parts\Item $item |
252 | 252 | * @param \DOMDocument $dom |
253 | 253 | * |
254 | - * @return bool|\DOMElement |
|
254 | + * @return DOMElement |
|
255 | 255 | */ |
256 | 256 | protected function generateItemXmlString(Parts\Item $item, DOMDocument $dom) |
257 | 257 | { |
@@ -232,7 +232,7 @@ |
||
232 | 232 | * "sort_key_int" or "sort_key_string". This column is then used for |
233 | 233 | * filtering and sorting for this type. |
234 | 234 | * |
235 | - * @return bool |
|
235 | + * @return string |
|
236 | 236 | */ |
237 | 237 | public function getIndexColumn() |
238 | 238 | { |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * Inserts a new content object. |
35 | 35 | * |
36 | 36 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
37 | - * @param mixed $currentVersionNo |
|
37 | + * @param integer $currentVersionNo |
|
38 | 38 | * |
39 | 39 | * @return int ID |
40 | 40 | */ |
@@ -331,8 +331,6 @@ discard block |
||
331 | 331 | * Loads data of related to/from $contentId. |
332 | 332 | * |
333 | 333 | * @param int $contentId |
334 | - * @param bool $reverse Reverse relation, default false |
|
335 | - * @param int $contentVersionNo |
|
336 | 334 | * @param int $relationType |
337 | 335 | * |
338 | 336 | * @return mixed[][] Content data, array structured like {@see \eZ\Publish\Core\Persistence\Legacy\Content\Gateway::load()} |
@@ -103,9 +103,9 @@ discard block |
||
103 | 103 | * Inserts a new content object. |
104 | 104 | * |
105 | 105 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
106 | - * @param mixed $currentVersionNo |
|
106 | + * @param integer $currentVersionNo |
|
107 | 107 | * |
108 | - * @return int ID |
|
108 | + * @return string ID |
|
109 | 109 | */ |
110 | 110 | public function insertContentObject(CreateStruct $struct, $currentVersionNo = 1) |
111 | 111 | { |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo |
206 | 206 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields |
207 | 207 | * |
208 | - * @return int ID |
|
208 | + * @return string ID |
|
209 | 209 | */ |
210 | 210 | public function insertVersion(VersionInfo $versionInfo, array $fields) |
211 | 211 | { |
@@ -599,7 +599,7 @@ discard block |
||
599 | 599 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
600 | 600 | * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue $value |
601 | 601 | * |
602 | - * @return int ID |
|
602 | + * @return string ID |
|
603 | 603 | */ |
604 | 604 | public function insertNewField(Content $content, Field $field, StorageFieldValue $value) |
605 | 605 | { |
@@ -809,8 +809,8 @@ discard block |
||
809 | 809 | * |
810 | 810 | * Returns an array with the relevant data. |
811 | 811 | * |
812 | - * @param mixed $contentId |
|
813 | - * @param mixed $version |
|
812 | + * @param integer $contentId |
|
813 | + * @param integer $version |
|
814 | 814 | * @param string[] $translations |
815 | 815 | * |
816 | 816 | * @return array |
@@ -979,7 +979,7 @@ discard block |
||
979 | 979 | /** |
980 | 980 | * Returns all version data for the given $contentId. |
981 | 981 | * |
982 | - * @param mixed $contentId |
|
982 | + * @param integer $contentId |
|
983 | 983 | * |
984 | 984 | * @return string[][] |
985 | 985 | */ |
@@ -1030,7 +1030,7 @@ discard block |
||
1030 | 1030 | /** |
1031 | 1031 | * Returns all version numbers for the given $contentId. |
1032 | 1032 | * |
1033 | - * @param mixed $contentId |
|
1033 | + * @param integer $contentId |
|
1034 | 1034 | * |
1035 | 1035 | * @return int[] |
1036 | 1036 | */ |
@@ -1668,7 +1668,7 @@ discard block |
||
1668 | 1668 | * |
1669 | 1669 | * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct |
1670 | 1670 | * |
1671 | - * @return int ID the inserted ID |
|
1671 | + * @return string ID the inserted ID |
|
1672 | 1672 | */ |
1673 | 1673 | public function insertRelation(RelationCreateStruct $createStruct) |
1674 | 1674 | { |