@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * Returns ClassyUser object of comment author |
64 | 64 | * |
65 | - * @return object ClassyUser |
|
65 | + * @return ClassyUser ClassyUser |
|
66 | 66 | */ |
67 | 67 | public function author() { |
68 | 68 |
@@ -131,7 +131,8 @@ discard block |
||
131 | 131 | * |
132 | 132 | * @param string $type view|scope |
133 | 133 | * @param string $type |
134 | - * @return array |
|
134 | + * @param string $page |
|
135 | + * @return string|false |
|
135 | 136 | */ |
136 | 137 | public static function get_available_file( $type = 'view', $page ) { |
137 | 138 | |
@@ -374,7 +375,7 @@ discard block |
||
374 | 375 | /** |
375 | 376 | * Returns classy template name or boolean if this is not classy template |
376 | 377 | * |
377 | - * @return mixed |
|
378 | + * @return string|false |
|
378 | 379 | */ |
379 | 380 | public static function get_classy_template() { |
380 | 381 |
@@ -186,7 +186,7 @@ |
||
186 | 186 | /** |
187 | 187 | * Returns first attached image id |
188 | 188 | * |
189 | - * @return int|boolean |
|
189 | + * @return integer|null |
|
190 | 190 | */ |
191 | 191 | public function get_first_attached_image_id() { |
192 | 192 |
@@ -302,7 +302,7 @@ |
||
302 | 302 | |
303 | 303 | /** |
304 | 304 | * @param array $prefs |
305 | - * @return array mixed |
|
305 | + * @return stdClass mixed |
|
306 | 306 | */ |
307 | 307 | public static function get_pagination( $prefs = array() ) { |
308 | 308 |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | * |
12 | 12 | * @param string $text |
13 | 13 | * @param int $num_words |
14 | - * @param string|null|false $more text to appear in "Read more...". Null to use default, false to hide |
|
14 | + * @param boolean $more text to appear in "Read more...". Null to use default, false to hide |
|
15 | 15 | * @param string $allowed_tags |
16 | 16 | * @return string |
17 | 17 | */ |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | * Converts array to object recursively |
221 | 221 | * |
222 | 222 | * @param array $array |
223 | - * @return object |
|
223 | + * @return stdClass |
|
224 | 224 | */ |
225 | 225 | public static function array_to_object( $array ) { |
226 | 226 | $obj = new stdClass; |