@@ -209,7 +209,7 @@ |
||
209 | 209 | * |
210 | 210 | * @param array $array Array to be converted. |
211 | 211 | * |
212 | - * @return object |
|
212 | + * @return \stdClass |
|
213 | 213 | */ |
214 | 214 | public static function array_to_object( $array ) { |
215 | 215 | $obj = new \stdClass; |
@@ -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 ); |