@@ -259,7 +259,7 @@ |
||
| 259 | 259 | * |
| 260 | 260 | * @param array $prefs Args for paginate_links. |
| 261 | 261 | * |
| 262 | - * @return array mixed |
|
| 262 | + * @return \stdClass mixed |
|
| 263 | 263 | */ |
| 264 | 264 | public static function get_pagination( $prefs = array() ) { |
| 265 | 265 | |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | /** |
| 95 | 95 | * Returns User object of comment author |
| 96 | 96 | * |
| 97 | - * @return object User |
|
| 97 | + * @return Models\User User |
|
| 98 | 98 | */ |
| 99 | 99 | public function author() { |
| 100 | 100 | |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | * |
| 14 | 14 | * @param string $text |
| 15 | 15 | * @param int $num_words |
| 16 | - * @param string|null|false $more text to appear in "Read more...". Null to use default, false to hide |
|
| 16 | + * @param boolean $more text to appear in "Read more...". Null to use default, false to hide |
|
| 17 | 17 | * @param string $allowed_tags |
| 18 | 18 | * @return string |
| 19 | 19 | */ |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | * Converts array to object recursively |
| 223 | 223 | * |
| 224 | 224 | * @param array $array |
| 225 | - * @return object |
|
| 225 | + * @return \stdClass |
|
| 226 | 226 | */ |
| 227 | 227 | public static function array_to_object( $array ) { |
| 228 | 228 | $obj = new \stdClass; |
@@ -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 | |