@@ -121,7 +121,7 @@ |
||
121 | 121 | * Removes user with uuid `$id` from UserOnline |
122 | 122 | * |
123 | 123 | * @param string $id id |
124 | - * @return bool |
|
124 | + * @return integer |
|
125 | 125 | */ |
126 | 126 | public function setOffline($id) |
127 | 127 | { |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * Translates user types |
80 | 80 | * |
81 | 81 | * @param string $type type |
82 | - * @return mixed |
|
82 | + * @return string|null |
|
83 | 83 | */ |
84 | 84 | public function type($type) |
85 | 85 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Constructor |
21 | 21 | * |
22 | - * @param array $settings settings |
|
22 | + * @param \Saito\Markup\MarkupSettings $settings settings |
|
23 | 23 | */ |
24 | 24 | public function __construct($settings) |
25 | 25 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * get editor help |
88 | 88 | * |
89 | - * @return mixed |
|
89 | + * @return string |
|
90 | 90 | */ |
91 | 91 | public function editorHelp() |
92 | 92 | { |
@@ -66,7 +66,7 @@ |
||
66 | 66 | * |
67 | 67 | * @param string $text text |
68 | 68 | * @param null $type type |
69 | - * @return mixed |
|
69 | + * @return string|null |
|
70 | 70 | */ |
71 | 71 | public function badge($text, $type = null) |
72 | 72 | { |
@@ -226,6 +226,7 @@ |
||
226 | 226 | |
227 | 227 | /** |
228 | 228 | * {@inheritdoc} |
229 | + * @param string $msg |
|
229 | 230 | */ |
230 | 231 | public function log($msg, $level = LogLevel::INFO, $context = ['saito.install']) |
231 | 232 | { |
@@ -125,6 +125,7 @@ |
||
125 | 125 | |
126 | 126 | /** |
127 | 127 | * {@inheritdoc} |
128 | + * @param string $key |
|
128 | 129 | */ |
129 | 130 | public function getConfig($key = null, $default = null) |
130 | 131 | { |
@@ -31,6 +31,7 @@ |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * {@inheritDoc} |
34 | + * @param integer $id |
|
34 | 35 | */ |
35 | 36 | public function write($id) |
36 | 37 | { |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | * get parent id |
416 | 416 | * |
417 | 417 | * @param int $id id |
418 | - * @return mixed |
|
418 | + * @return integer |
|
419 | 419 | * @throws \UnexpectedValueException |
420 | 420 | */ |
421 | 421 | public function getParentId($id) |
@@ -626,7 +626,7 @@ discard block |
||
626 | 626 | /** |
627 | 627 | * trees for multiple tids |
628 | 628 | * |
629 | - * @param array $ids ids |
|
629 | + * @param integer[] $ids ids |
|
630 | 630 | * @param array $order order |
631 | 631 | * @param array $fieldlist fieldlist |
632 | 632 | * @return array|bool false if no threads or array of Postings |
@@ -678,7 +678,7 @@ discard block |
||
678 | 678 | * @param array $params params |
679 | 679 | * - 'fields' array of thread-ids: [1, 2, 5] |
680 | 680 | * - 'order' sort order for threads ['time' => 'ASC'], |
681 | - * @return mixed unhydrated result set |
|
681 | + * @return Query unhydrated result set |
|
682 | 682 | */ |
683 | 683 | protected function _getThreadEntries(array $tid, array $params = []) |
684 | 684 | { |
@@ -746,6 +746,8 @@ discard block |
||
746 | 746 | |
747 | 747 | /** |
748 | 748 | * {@inheritDoc} |
749 | + * @param integer $id |
|
750 | + * @param string $key |
|
749 | 751 | */ |
750 | 752 | public function toggle($id, $key) |
751 | 753 | { |
@@ -825,7 +827,7 @@ discard block |
||
825 | 827 | * Anonymizes the entries for a user |
826 | 828 | * |
827 | 829 | * @param string $userId user-ID |
828 | - * @return bool success |
|
830 | + * @return integer success |
|
829 | 831 | */ |
830 | 832 | public function anonymizeEntriesFromUser($userId) |
831 | 833 | { |
@@ -932,7 +934,7 @@ discard block |
||
932 | 934 | * Check if posting is thread-root. |
933 | 935 | * |
934 | 936 | * @param array $id posting-ID or posting data |
935 | - * @return mixed |
|
937 | + * @return boolean |
|
936 | 938 | */ |
937 | 939 | protected function _isRoot(array $id) |
938 | 940 | { |
@@ -1127,7 +1129,7 @@ discard block |
||
1127 | 1129 | * |
1128 | 1130 | * @param null $tid thread-ID |
1129 | 1131 | * @param null $newCategoryId id for new category |
1130 | - * @return bool success |
|
1132 | + * @return integer success |
|
1131 | 1133 | * @throws NotFoundException |
1132 | 1134 | * @throws \InvalidArgumentException |
1133 | 1135 | */ |