@@ -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 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * @param string $type View|scope. |
| 122 | 122 | * @param string $page Request type like: home, single etc. |
| 123 | 123 | * |
| 124 | - * @return array|bool |
|
| 124 | + * @return string|false |
|
| 125 | 125 | */ |
| 126 | 126 | public static function get_available_file( $type = 'view', $page ) { |
| 127 | 127 | $views = self::get_request_hierarchy_list( $page ); |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | /** |
| 307 | 307 | * Returns classy template name or boolean if this is not classy template. |
| 308 | 308 | * |
| 309 | - * @return mixed |
|
| 309 | + * @return string|false |
|
| 310 | 310 | */ |
| 311 | 311 | public static function get_classy_template() { |
| 312 | 312 | preg_match( '/classy\-(.*)/', get_page_template_slug(), $matches ); |
@@ -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 | |