@@ -77,7 +77,7 @@ |
||
77 | 77 | $this->addBehavior( |
78 | 78 | 'Proffer.Proffer', |
79 | 79 | [ |
80 | - 'avatar' => [ // The name of your upload field (filename) |
|
80 | + 'avatar' => [// The name of your upload field (filename) |
|
81 | 81 | 'root' => $avatarRootDir, |
82 | 82 | 'dir' => 'avatar_dir', // field for upload directory |
83 | 83 | 'thumbnailSizes' => [ |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * help |
39 | 39 | * |
40 | 40 | * @param string $id id |
41 | - * @return mixed |
|
41 | + * @return string|null |
|
42 | 42 | */ |
43 | 43 | public function help($id) |
44 | 44 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @param string $text text |
78 | 78 | * @param null $type type |
79 | - * @return mixed |
|
79 | + * @return string|null |
|
80 | 80 | */ |
81 | 81 | public function badge($text, $type = null) |
82 | 82 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Constructor |
21 | 21 | * |
22 | - * @param array $settings settings |
|
22 | + * @param \Saito\Markup\MarkupSettings|null $settings settings |
|
23 | 23 | */ |
24 | 24 | public function __construct($settings) |
25 | 25 | { |
@@ -105,7 +105,7 @@ |
||
105 | 105 | /** |
106 | 106 | * Creates name for sitemap-file |
107 | 107 | * |
108 | - * @param array $params additional name parameters |
|
108 | + * @param integer[] $params additional name parameters |
|
109 | 109 | * @return string |
110 | 110 | */ |
111 | 111 | protected function _filename($params = []) |
@@ -170,7 +170,7 @@ |
||
170 | 170 | /** |
171 | 171 | * time to Cake start |
172 | 172 | * |
173 | - * @return mixed |
|
173 | + * @return double |
|
174 | 174 | */ |
175 | 175 | protected static function _timeToCake() |
176 | 176 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | /** |
67 | 67 | * posting index |
68 | 68 | * |
69 | - * @return void|\Cake\Network\Response |
|
69 | + * @return Response|null |
|
70 | 70 | */ |
71 | 71 | public function index() |
72 | 72 | { |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | * View posting. |
188 | 188 | * |
189 | 189 | * @param string $id posting-ID |
190 | - * @return \Cake\Network\Response|void |
|
190 | + * @return Response|null |
|
191 | 191 | */ |
192 | 192 | public function view($id = null) |
193 | 193 | { |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | * Add new posting. |
240 | 240 | * |
241 | 241 | * @param null|string $id parent-ID if is answer |
242 | - * @return void|\Cake\Network\Response |
|
242 | + * @return Response|null |
|
243 | 243 | * @throws ForbiddenException |
244 | 244 | */ |
245 | 245 | public function add($id = null) |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | * Get thread-line to insert after an inline-answer |
352 | 352 | * |
353 | 353 | * @param string $id posting-ID |
354 | - * @return void|\Cake\Network\Response |
|
354 | + * @return Response|null |
|
355 | 355 | */ |
356 | 356 | public function threadLine($id = null) |
357 | 357 | { |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | * Edit posting |
371 | 371 | * |
372 | 372 | * @param string $id posting-ID |
373 | - * @return void|\Cake\Network\Response |
|
373 | + * @return Response|null |
|
374 | 374 | * @throws NotFoundException |
375 | 375 | * @throws BadRequestException |
376 | 376 | */ |
@@ -576,7 +576,7 @@ discard block |
||
576 | 576 | * @param string $id posting-ID |
577 | 577 | * @param string $toggle property |
578 | 578 | * |
579 | - * @return \Cake\Network\Response |
|
579 | + * @return Response |
|
580 | 580 | */ |
581 | 581 | public function ajaxToggle($id = null, $toggle = null) |
582 | 582 | { |
@@ -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 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * Login user. |
61 | 61 | * |
62 | - * @return void|\Cake\Network\Response |
|
62 | + * @return null|Response |
|
63 | 63 | */ |
64 | 64 | public function login() |
65 | 65 | { |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | * |
304 | 304 | * @param int $blockedId user to ignore |
305 | 305 | * @param bool $set block or unblock |
306 | - * @return \Cake\Network\Response |
|
306 | + * @return Response|null |
|
307 | 307 | */ |
308 | 308 | protected function _ignore($blockedId, $set) |
309 | 309 | { |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | * View user profile. |
354 | 354 | * |
355 | 355 | * @param null $id user-ID |
356 | - * @return \Cake\Network\Response|void |
|
356 | + * @return null|Response |
|
357 | 357 | */ |
358 | 358 | public function view($id = null) |
359 | 359 | { |
@@ -416,7 +416,7 @@ discard block |
||
416 | 416 | * Set user avatar. |
417 | 417 | * |
418 | 418 | * @param string $userId user-ID |
419 | - * @return void|\Cake\Network\Response |
|
419 | + * @return Response|null |
|
420 | 420 | */ |
421 | 421 | public function avatar($userId) |
422 | 422 | { |
@@ -449,7 +449,7 @@ discard block |
||
449 | 449 | * |
450 | 450 | * @param null $id user-ID |
451 | 451 | * |
452 | - * @return \Cake\Network\Response|void |
|
452 | + * @return Response|null |
|
453 | 453 | */ |
454 | 454 | public function edit($id = null) |
455 | 455 | { |
@@ -696,7 +696,7 @@ discard block |
||
696 | 696 | /** |
697 | 697 | * Set slidetab-order. |
698 | 698 | * |
699 | - * @return \Cake\Network\Response |
|
699 | + * @return Response |
|
700 | 700 | * @throws BadRequestException |
701 | 701 | */ |
702 | 702 | public function slidetabOrder() |
@@ -744,7 +744,7 @@ discard block |
||
744 | 744 | * Set category for user. |
745 | 745 | * |
746 | 746 | * @param string|null $id category-ID |
747 | - * @return \Cake\Network\Response |
|
747 | + * @return Response|null |
|
748 | 748 | */ |
749 | 749 | public function setcategory(?string $id = null) |
750 | 750 | { |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * Set object |
59 | 59 | * |
60 | 60 | * @param string $key $key |
61 | - * @param object $object object |
|
61 | + * @param \Saito\User\CurrentUser\CurrentUserInterface $object object |
|
62 | 62 | * @return void |
63 | 63 | */ |
64 | 64 | public static function set($key, $object) |