@@ -54,8 +54,6 @@ |
||
| 54 | 54 | * |
| 55 | 55 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 56 | 56 | * |
| 57 | - * @param string|array(string) $... Either a string with a logical expression name |
|
| 58 | - * or an array with logical expressions. |
|
| 59 | 57 | * |
| 60 | 58 | * @return \eZ\Publish\Core\Persistence\Database\UpdateQuery |
| 61 | 59 | */ |
@@ -145,7 +145,6 @@ discard block |
||
| 145 | 145 | * |
| 146 | 146 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 147 | 147 | * |
| 148 | - * @param string|array(string) $... |
|
| 149 | 148 | * |
| 150 | 149 | * @return string an expression |
| 151 | 150 | */ |
@@ -172,7 +171,6 @@ discard block |
||
| 172 | 171 | * |
| 173 | 172 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 174 | 173 | * |
| 175 | - * @param string|array(string) $... |
|
| 176 | 174 | * |
| 177 | 175 | * @return string an expression |
| 178 | 176 | */ |
@@ -199,7 +197,6 @@ discard block |
||
| 199 | 197 | * |
| 200 | 198 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 201 | 199 | * |
| 202 | - * @param string|array(string) $... |
|
| 203 | 200 | * |
| 204 | 201 | * @return string an expression |
| 205 | 202 | */ |
@@ -226,7 +223,6 @@ discard block |
||
| 226 | 223 | * |
| 227 | 224 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 228 | 225 | * |
| 229 | - * @param string|array(string) $... |
|
| 230 | 226 | * |
| 231 | 227 | * @return string an expression |
| 232 | 228 | */ |
@@ -381,7 +377,6 @@ discard block |
||
| 381 | 377 | * empty array. |
| 382 | 378 | * |
| 383 | 379 | * @param string $column the value that should be matched against |
| 384 | - * @param string|array(string) $... values that will be matched against $column |
|
| 385 | 380 | * |
| 386 | 381 | * @return string logical expression |
| 387 | 382 | */ |
@@ -622,7 +617,6 @@ discard block |
||
| 622 | 617 | * concat() accepts an arbitrary number of parameters. Each parameter |
| 623 | 618 | * must contain an expression or an array with expressions. |
| 624 | 619 | * |
| 625 | - * @param string|array(string) $... strings that will be concatinated. |
|
| 626 | 620 | */ |
| 627 | 621 | public function concat() |
| 628 | 622 | { |
@@ -753,7 +747,6 @@ discard block |
||
| 753 | 747 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 754 | 748 | * |
| 755 | 749 | * @param string $type the type of operation, can be '+', '-', '*' or '/'. |
| 756 | - * @param string|array(string) $... |
|
| 757 | 750 | * |
| 758 | 751 | * @return string an expression |
| 759 | 752 | */ |
@@ -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 | { |
@@ -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 | { |
@@ -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()} |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | * Inserts a new content object. |
| 66 | 66 | * |
| 67 | 67 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
| 68 | - * @param mixed $currentVersionNo |
|
| 68 | + * @param integer $currentVersionNo |
|
| 69 | 69 | * |
| 70 | 70 | * @return int ID |
| 71 | 71 | */ |
@@ -618,8 +618,6 @@ discard block |
||
| 618 | 618 | * Loads data of related to/from $contentId. |
| 619 | 619 | * |
| 620 | 620 | * @param int $contentId |
| 621 | - * @param bool $reverse Reverse relation, default false |
|
| 622 | - * @param int $contentVersionNo |
|
| 623 | 621 | * @param int $relationType |
| 624 | 622 | * |
| 625 | 623 | * @return mixed[][] Content data, array structured like {@see \eZ\Publish\Core\Persistence\Legacy\Content\Gateway::load()} |
@@ -658,7 +656,6 @@ discard block |
||
| 658 | 656 | /** |
| 659 | 657 | * Inserts a new relation database record. |
| 660 | 658 | * |
| 661 | - * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct |
|
| 662 | 659 | * |
| 663 | 660 | * @return int ID the inserted ID |
| 664 | 661 | */ |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | /** |
| 141 | 141 | * Delete a language. |
| 142 | 142 | * |
| 143 | - * @param mixed $id |
|
| 143 | + * @param integer $id |
|
| 144 | 144 | */ |
| 145 | 145 | public function delete($id) |
| 146 | 146 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * Creates a Content from the given $struct and $currentVersionNo. |
| 59 | 59 | * |
| 60 | 60 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
| 61 | - * @param mixed $currentVersionNo |
|
| 61 | + * @param integer $currentVersionNo |
|
| 62 | 62 | * |
| 63 | 63 | * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo |
| 64 | 64 | */ |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | * Creates a new version for the given $struct and $versionNo. |
| 90 | 90 | * |
| 91 | 91 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
| 92 | - * @param mixed $versionNo |
|
| 92 | + * @param integer $versionNo |
|
| 93 | 93 | * |
| 94 | 94 | * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo |
| 95 | 95 | */ |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * Creates a new version for the given $content. |
| 124 | 124 | * |
| 125 | 125 | * @param \eZ\Publish\SPI\Persistence\Content $content |
| 126 | - * @param mixed $versionNo |
|
| 126 | + * @param integer $versionNo |
|
| 127 | 127 | * @param mixed $userId |
| 128 | 128 | * |
| 129 | 129 | * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo |