@@ -55,6 +55,8 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Assert that the elements are. |
| 58 | + * @param integer[] $expectedIds |
|
| 59 | + * @param \eZ\Publish\API\Repository\Values\Content\Search\SearchResult $locations |
|
| 58 | 60 | */ |
| 59 | 61 | protected function assertSearchResults($expectedIds, $locations) |
| 60 | 62 | { |
@@ -131,6 +133,9 @@ discard block |
||
| 131 | 133 | |
| 132 | 134 | protected $contentTypeHandler; |
| 133 | 135 | |
| 136 | + /** |
|
| 137 | + * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler |
|
| 138 | + */ |
|
| 134 | 139 | protected function getContentTypeHandler() |
| 135 | 140 | { |
| 136 | 141 | if (!isset($this->contentTypeHandler)) { |
@@ -149,6 +154,9 @@ discard block |
||
| 149 | 154 | |
| 150 | 155 | protected $fieldRegistry; |
| 151 | 156 | |
| 157 | + /** |
|
| 158 | + * @return ConverterRegistry |
|
| 159 | + */ |
|
| 152 | 160 | protected function getConverterRegistry() |
| 153 | 161 | { |
| 154 | 162 | if (!isset($this->fieldRegistry)) { |
@@ -56,6 +56,7 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * Assert that the elements are. |
| 59 | + * @param \eZ\Publish\API\Repository\Values\Content\Search\SearchResult $searchResult |
|
| 59 | 60 | */ |
| 60 | 61 | protected function assertSearchResults($expectedIds, $searchResult) |
| 61 | 62 | { |
@@ -199,6 +200,9 @@ discard block |
||
| 199 | 200 | |
| 200 | 201 | protected $contentTypeHandler; |
| 201 | 202 | |
| 203 | + /** |
|
| 204 | + * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler |
|
| 205 | + */ |
|
| 202 | 206 | protected function getContentTypeHandler() |
| 203 | 207 | { |
| 204 | 208 | if (!isset($this->contentTypeHandler)) { |
@@ -217,6 +221,9 @@ discard block |
||
| 217 | 221 | |
| 218 | 222 | protected $fieldRegistry; |
| 219 | 223 | |
| 224 | + /** |
|
| 225 | + * @return ConverterRegistry |
|
| 226 | + */ |
|
| 220 | 227 | protected function getConverterRegistry() |
| 221 | 228 | { |
| 222 | 229 | if (!isset($this->fieldRegistry)) { |
@@ -762,7 +762,7 @@ |
||
| 762 | 762 | } |
| 763 | 763 | |
| 764 | 764 | /** |
| 765 | - * @param array $methods |
|
| 765 | + * @param string[] $methods |
|
| 766 | 766 | * |
| 767 | 767 | * @return \eZ\Publish\Core\Search\Common\FieldNameResolver|\PHPUnit_Framework_MockObject_MockObject |
| 768 | 768 | */ |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | * $languageCode. |
| 362 | 362 | * |
| 363 | 363 | * @param Type $contentType |
| 364 | - * @param mixed $fieldValue |
|
| 364 | + * @param Content\FieldValue $fieldValue |
|
| 365 | 365 | * @param string $languageCode |
| 366 | 366 | * |
| 367 | 367 | * @return Content |
@@ -480,8 +480,8 @@ discard block |
||
| 480 | 480 | /** |
| 481 | 481 | * Performs an update on $contentId in $contentVersion setting $field. |
| 482 | 482 | * |
| 483 | - * @param mixed $contentId |
|
| 484 | - * @param mixed $contentVersion |
|
| 483 | + * @param string $contentId |
|
| 484 | + * @param string $contentVersion |
|
| 485 | 485 | * @param Field $field |
| 486 | 486 | * |
| 487 | 487 | * @return Content |
@@ -99,6 +99,9 @@ discard block |
||
| 99 | 99 | ); |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | + /** |
|
| 103 | + * @return \eZ\Publish\Core\Base\Utils\DeprecationWarnerInterface |
|
| 104 | + */ |
|
| 102 | 105 | public function getDeprecationWarnerMock() |
| 103 | 106 | { |
| 104 | 107 | if (!isset($this->deprecationWarnerMock)) { |
@@ -108,6 +111,9 @@ discard block |
||
| 108 | 111 | return $this->deprecationWarnerMock; |
| 109 | 112 | } |
| 110 | 113 | |
| 114 | + /** |
|
| 115 | + * @return null|FieldType\Image\AliasCleanerInterface |
|
| 116 | + */ |
|
| 111 | 117 | public function getAliasCleanerMock() |
| 112 | 118 | { |
| 113 | 119 | if (!isset($this->aliasCleanerMock)) { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * Get handler with required custom field types registered. |
| 54 | 54 | * |
| 55 | - * @return Handler |
|
| 55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
| 56 | 56 | */ |
| 57 | 57 | public function getCustomHandler() |
| 58 | 58 | { |
@@ -762,7 +762,7 @@ |
||
| 762 | 762 | } |
| 763 | 763 | |
| 764 | 764 | /** |
| 765 | - * @param array $methods |
|
| 765 | + * @param string[] $methods |
|
| 766 | 766 | * |
| 767 | 767 | * @return \eZ\Publish\Core\Search\Common\FieldNameResolver|\PHPUnit_Framework_MockObject_MockObject |
| 768 | 768 | */ |
@@ -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 | */ |
@@ -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 | */ |