@@ -500,7 +500,7 @@ discard block |
||
| 500 | 500 | * |
| 501 | 501 | * @param Entry $posting Entity |
| 502 | 502 | * @param array $data data |
| 503 | - * @return Entry|null |
|
| 503 | + * @return \Cake\Datasource\EntityInterface|null |
|
| 504 | 504 | */ |
| 505 | 505 | public function updateEntry(Entry $posting, array $data): ?Entry |
| 506 | 506 | { |
@@ -579,7 +579,7 @@ discard block |
||
| 579 | 579 | /** |
| 580 | 580 | * trees for multiple tids |
| 581 | 581 | * |
| 582 | - * @param array $ids ids |
|
| 582 | + * @param integer[] $ids ids |
|
| 583 | 583 | * @param array $order order |
| 584 | 584 | * @param array $fieldlist fieldlist |
| 585 | 585 | * @return array|null array of Postings, null if nothing found |
@@ -632,7 +632,7 @@ discard block |
||
| 632 | 632 | * @param array $params params |
| 633 | 633 | * - 'fields' array of thread-ids: [1, 2, 5] |
| 634 | 634 | * - 'order' sort order for threads ['time' => 'ASC'], |
| 635 | - * @return mixed unhydrated result set |
|
| 635 | + * @return Query unhydrated result set |
|
| 636 | 636 | */ |
| 637 | 637 | protected function _getThreadEntries(array $tid, array $params = []) |
| 638 | 638 | { |
@@ -686,6 +686,8 @@ discard block |
||
| 686 | 686 | |
| 687 | 687 | /** |
| 688 | 688 | * {@inheritDoc} |
| 689 | + * @param integer $id |
|
| 690 | + * @param string $key |
|
| 689 | 691 | */ |
| 690 | 692 | public function toggle($id, $key) |
| 691 | 693 | { |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | * Fast version of Set::combine($results, '{n}.Setting.name', |
| 153 | 153 | * '{n}.Setting.value'); |
| 154 | 154 | * |
| 155 | - * @param array $results results |
|
| 155 | + * @param \Cake\ORM\Query $results results |
|
| 156 | 156 | * @return array |
| 157 | 157 | */ |
| 158 | 158 | protected function _compactKeyValue($results) |
@@ -330,7 +330,7 @@ discard block |
||
| 330 | 330 | * |
| 331 | 331 | * @param int $blockedId user to ignore |
| 332 | 332 | * @param bool $set block or unblock |
| 333 | - * @return \Cake\Network\Response |
|
| 333 | + * @return Response|null |
|
| 334 | 334 | */ |
| 335 | 335 | protected function _ignore($blockedId, $set) |
| 336 | 336 | { |
@@ -380,7 +380,7 @@ discard block |
||
| 380 | 380 | * View user profile. |
| 381 | 381 | * |
| 382 | 382 | * @param null $id user-ID |
| 383 | - * @return \Cake\Network\Response|void |
|
| 383 | + * @return null|Response |
|
| 384 | 384 | */ |
| 385 | 385 | public function view($id = null) |
| 386 | 386 | { |
@@ -443,7 +443,7 @@ discard block |
||
| 443 | 443 | * Set user avatar. |
| 444 | 444 | * |
| 445 | 445 | * @param string $userId user-ID |
| 446 | - * @return void|\Cake\Network\Response |
|
| 446 | + * @return Response|null |
|
| 447 | 447 | */ |
| 448 | 448 | public function avatar($userId) |
| 449 | 449 | { |
@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | * |
| 477 | 477 | * @param null $id user-ID |
| 478 | 478 | * |
| 479 | - * @return \Cake\Network\Response|void |
|
| 479 | + * @return Response|null |
|
| 480 | 480 | */ |
| 481 | 481 | public function edit($id = null) |
| 482 | 482 | { |
@@ -723,7 +723,7 @@ discard block |
||
| 723 | 723 | /** |
| 724 | 724 | * Set slidetab-order. |
| 725 | 725 | * |
| 726 | - * @return \Cake\Network\Response |
|
| 726 | + * @return Response |
|
| 727 | 727 | * @throws BadRequestException |
| 728 | 728 | */ |
| 729 | 729 | public function slidetabOrder() |
@@ -771,7 +771,7 @@ discard block |
||
| 771 | 771 | * Set category for user. |
| 772 | 772 | * |
| 773 | 773 | * @param string|null $id category-ID |
| 774 | - * @return \Cake\Network\Response |
|
| 774 | + * @return Response|null |
|
| 775 | 775 | */ |
| 776 | 776 | public function setcategory(?string $id = null) |
| 777 | 777 | { |