@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * Get status as JSON response |
| 66 | 66 | * |
| 67 | 67 | * @param string $data json-encoded data |
| 68 | - * @return mixed |
|
| 68 | + * @return string |
|
| 69 | 69 | */ |
| 70 | 70 | protected function _statusAsJson($data) |
| 71 | 71 | { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | /** |
| 73 | 73 | * attaches event-listener |
| 74 | 74 | * |
| 75 | - * @param string|SaitoEventListener $key key |
|
| 75 | + * @param \Saito\Cache\EntriesCacheSupportCachelet $key key |
|
| 76 | 76 | * @param null $callable function if $key is set |
| 77 | 77 | * @return void |
| 78 | 78 | * @throws \InvalidArgumentException |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | * |
| 89 | 89 | * @param string $string string |
| 90 | 90 | * @param array $replacements replacements |
| 91 | - * @return mixed |
|
| 91 | + * @return string |
|
| 92 | 92 | */ |
| 93 | 93 | protected function _debug($string, $replacements) |
| 94 | 94 | { |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | * |
| 135 | 135 | * @param int $userId user-ID |
| 136 | 136 | * @param int $blockedId user-ID |
| 137 | - * @return mixed |
|
| 137 | + * @return \Cake\Datasource\EntityInterface |
|
| 138 | 138 | */ |
| 139 | 139 | protected function _get(int $userId, int $blockedId) |
| 140 | 140 | { |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * Translates user types |
| 86 | 86 | * |
| 87 | 87 | * @param string $type type |
| 88 | - * @return mixed |
|
| 88 | + * @return string|null |
|
| 89 | 89 | */ |
| 90 | 90 | public function type($type) |
| 91 | 91 | { |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * Link to user-profile |
| 127 | 127 | * |
| 128 | 128 | * @param User|ForumsUserInterface $user user |
| 129 | - * @param bool|CurrentUserInterface $link link |
|
| 129 | + * @param boolean $link link |
|
| 130 | 130 | * @param array $options options |
| 131 | 131 | * @return string |
| 132 | 132 | */ |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | /** |
| 69 | 69 | * posting index |
| 70 | 70 | * |
| 71 | - * @return void|\Cake\Network\Response |
|
| 71 | + * @return Response|null |
|
| 72 | 72 | */ |
| 73 | 73 | public function index() |
| 74 | 74 | { |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | * View posting. |
| 190 | 190 | * |
| 191 | 191 | * @param string $id posting-ID |
| 192 | - * @return \Cake\Network\Response|void |
|
| 192 | + * @return Response|null |
|
| 193 | 193 | */ |
| 194 | 194 | public function view($id = null) |
| 195 | 195 | { |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | * Get thread-line to insert after an inline-answer |
| 300 | 300 | * |
| 301 | 301 | * @param string $id posting-ID |
| 302 | - * @return void|\Cake\Network\Response |
|
| 302 | + * @return Response|null |
|
| 303 | 303 | */ |
| 304 | 304 | public function threadLine($id = null) |
| 305 | 305 | { |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | * @param string $id posting-ID |
| 449 | 449 | * @param string $toggle property |
| 450 | 450 | * |
| 451 | - * @return \Cake\Network\Response |
|
| 451 | + * @return Response |
|
| 452 | 452 | */ |
| 453 | 453 | public function ajaxToggle($id = null, $toggle = null) |
| 454 | 454 | { |
@@ -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 | { |
@@ -91,7 +91,7 @@ |
||
| 91 | 91 | * |
| 92 | 92 | * @param string|null $id settings-ID |
| 93 | 93 | * |
| 94 | - * @return \Cake\Network\Response|void |
|
| 94 | + * @return \Cake\Http\Response|null |
|
| 95 | 95 | */ |
| 96 | 96 | public function edit(string $id = null) |
| 97 | 97 | { |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * help |
| 40 | 40 | * |
| 41 | 41 | * @param string $id id |
| 42 | - * @return mixed |
|
| 42 | + * @return string|null |
|
| 43 | 43 | */ |
| 44 | 44 | public function help($id) |
| 45 | 45 | { |