@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Contact page. |
29 | 29 | * |
30 | - * @return \Cake\Network\Response|void |
|
30 | + * @return \Cake\Http\Response|null |
|
31 | 31 | */ |
32 | 32 | public function index() |
33 | 33 | { |
@@ -355,7 +355,7 @@ discard block |
||
355 | 355 | /** |
356 | 356 | * Display a conversation. |
357 | 357 | * |
358 | - * @return void|\Cake\Network\Response |
|
358 | + * @return \Cake\Http\Response|null |
|
359 | 359 | */ |
360 | 360 | public function view() |
361 | 361 | { |
@@ -604,7 +604,7 @@ discard block |
||
604 | 604 | * |
605 | 605 | * @param int $id Id of the message. |
606 | 606 | * |
607 | - * @return \Cake\Network\Response |
|
607 | + * @return \Cake\Http\Response|null |
|
608 | 608 | */ |
609 | 609 | public function messageEdit($id = null) |
610 | 610 | { |
@@ -665,7 +665,7 @@ discard block |
||
665 | 665 | * |
666 | 666 | * @param int $messageId Id of the message. |
667 | 667 | * |
668 | - * @return \Cake\Network\Response |
|
668 | + * @return \Cake\Http\Response|null |
|
669 | 669 | */ |
670 | 670 | public function go($messageId = null) |
671 | 671 | { |
@@ -807,7 +807,7 @@ discard block |
||
807 | 807 | /** |
808 | 808 | * Reply to a conversation. |
809 | 809 | * |
810 | - * @return void|\Cake\Network\Response |
|
810 | + * @return \Cake\Http\Response|null |
|
811 | 811 | */ |
812 | 812 | public function reply() |
813 | 813 | { |
@@ -911,7 +911,7 @@ discard block |
||
911 | 911 | /** |
912 | 912 | * Edit a conversation. |
913 | 913 | * |
914 | - * @return \Cake\Network\Response |
|
914 | + * @return \Cake\Http\Response|null |
|
915 | 915 | */ |
916 | 916 | public function edit() |
917 | 917 | { |
@@ -967,7 +967,7 @@ discard block |
||
967 | 967 | /** |
968 | 968 | * Function to invite user(s) in a conversation. |
969 | 969 | * |
970 | - * @return void|\Cake\Network\Response |
|
970 | + * @return \Cake\Http\Response|null |
|
971 | 971 | */ |
972 | 972 | public function invite() |
973 | 973 | { |
@@ -1068,7 +1068,7 @@ discard block |
||
1068 | 1068 | /** |
1069 | 1069 | * Function to leave a conversation. |
1070 | 1070 | * |
1071 | - * @return void|\Cake\Network\Response |
|
1071 | + * @return \Cake\Http\Response|null |
|
1072 | 1072 | */ |
1073 | 1073 | public function leave() |
1074 | 1074 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * An user vote to a poll. |
12 | 12 | * |
13 | - * @return \Cake\Network\Exception\NotFoundException|\Cake\Network\Response |
|
13 | + * @return \Cake\Http\Response|null |
|
14 | 14 | */ |
15 | 15 | public function vote() |
16 | 16 | { |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * Display an intro to the Two-factor Authentication. |
23 | 23 | * |
24 | - * @return \Cake\Network\Response|void |
|
24 | + * @return \Cake\Http\Response|null |
|
25 | 25 | */ |
26 | 26 | public function intro() |
27 | 27 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Configure the Two-factor Authentication. |
50 | 50 | * |
51 | - * @return \Cake\Network\Response|void |
|
51 | + * @return \Cake\Http\Response|null |
|
52 | 52 | */ |
53 | 53 | public function configure() |
54 | 54 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Enable the Two-factor Authentication. |
108 | 108 | * |
109 | - * @return \Cake\Network\Response|void |
|
109 | + * @return \Cake\Http\Response|null |
|
110 | 110 | */ |
111 | 111 | public function enable() |
112 | 112 | { |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | /** |
183 | 183 | * Disable the Two-factor Authentication. |
184 | 184 | * |
185 | - * @return \Cake\Network\Response |
|
185 | + * @return \Cake\Http\Response|null |
|
186 | 186 | */ |
187 | 187 | public function disable() |
188 | 188 | { |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | /** |
240 | 240 | * Display the recovery code and the status of the code. |
241 | 241 | * |
242 | - * @return \Cake\Network\Response|void |
|
242 | + * @return \Cake\Http\Response|null |
|
243 | 243 | */ |
244 | 244 | public function recoveryCode() |
245 | 245 | { |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | /** |
275 | 275 | * Generate a new recovery code. |
276 | 276 | * |
277 | - * @return \Cake\Network\Response |
|
277 | + * @return \Cake\Http\Response|null |
|
278 | 278 | */ |
279 | 279 | public function generateRecoveryCode() |
280 | 280 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * Login and register page. |
83 | 83 | * |
84 | - * @return \Cake\Network\Response|void |
|
84 | + * @return \Cake\Http\Response|null |
|
85 | 85 | */ |
86 | 86 | public function login() |
87 | 87 | { |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | /** |
331 | 331 | * Logout an user. |
332 | 332 | * |
333 | - * @return \Cake\Network\Response |
|
333 | + * @return \Cake\Http\Response|null |
|
334 | 334 | */ |
335 | 335 | public function logout() |
336 | 336 | { |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | /** |
343 | 343 | * Ask to the user the 2FA code and verify it. |
344 | 344 | * |
345 | - * @return \Cake\Network\Response|void |
|
345 | + * @return \Cake\Http\Response|null |
|
346 | 346 | */ |
347 | 347 | public function tfa() |
348 | 348 | { |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | /** |
478 | 478 | * Page to configure our settings. |
479 | 479 | * |
480 | - * @return \Cake\Network\Response|void |
|
480 | + * @return \Cake\Http\Response|null |
|
481 | 481 | */ |
482 | 482 | public function settings() |
483 | 483 | { |
@@ -555,7 +555,7 @@ discard block |
||
555 | 555 | /** |
556 | 556 | * View a profile page of an user. |
557 | 557 | * |
558 | - * @return \Cake\Network\Response|void |
|
558 | + * @return \Cake\Http\Response|null |
|
559 | 559 | */ |
560 | 560 | public function profile() |
561 | 561 | { |
@@ -619,7 +619,7 @@ discard block |
||
619 | 619 | /** |
620 | 620 | * Delete an user with all his comments, articles and likes. |
621 | 621 | * |
622 | - * @return \Cake\Network\Response |
|
622 | + * @return \Cake\Http\Response|null |
|
623 | 623 | */ |
624 | 624 | public function delete() |
625 | 625 | { |
@@ -682,7 +682,7 @@ discard block |
||
682 | 682 | /** |
683 | 683 | * Display the form to reset the password. |
684 | 684 | * |
685 | - * @return \Cake\Network\Response|void |
|
685 | + * @return \Cake\Http\Response|null |
|
686 | 686 | */ |
687 | 687 | public function forgotPassword() |
688 | 688 | { |
@@ -752,7 +752,7 @@ discard block |
||
752 | 752 | /** |
753 | 753 | * Display the form to reset his password. |
754 | 754 | * |
755 | - * @return \Cake\Network\Response|void |
|
755 | + * @return \Cake\Http\Response|null |
|
756 | 756 | */ |
757 | 757 | public function resetPassword() |
758 | 758 | { |
@@ -8,7 +8,7 @@ |
||
8 | 8 | /** |
9 | 9 | * Delete an answer from a poll. |
10 | 10 | * |
11 | - * @return \Cake\Network\Response |
|
11 | + * @return \Cake\Http\Response|null |
|
12 | 12 | */ |
13 | 13 | public function delete() |
14 | 14 | { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * Create a Poll. |
41 | 41 | * |
42 | - * @return \Cake\Network\Response|void |
|
42 | + * @return \Cake\Http\Response|null |
|
43 | 43 | */ |
44 | 44 | public function add() |
45 | 45 | { |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | /** |
110 | 110 | * Edit a Poll. |
111 | 111 | * |
112 | - * @return \Cake\Network\Response |
|
112 | + * @return \Cake\Http\Response|null |
|
113 | 113 | */ |
114 | 114 | public function edit() |
115 | 115 | { |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | /** |
200 | 200 | * Delete a Poll. |
201 | 201 | * |
202 | - * @return \Cake\Network\Response |
|
202 | + * @return \Cake\Http\Response|null |
|
203 | 203 | */ |
204 | 204 | public function delete() |
205 | 205 | { |