@@ -54,6 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @param string |
56 | 56 | * @param string |
57 | + * @param string $name |
|
57 | 58 | */ |
58 | 59 | private function define( $name, $value ) { |
59 | 60 | if ( !defined($name) ) { |
@@ -241,7 +242,7 @@ discard block |
||
241 | 242 | |
242 | 243 | /** |
243 | 244 | * @param array $prefs |
244 | - * @return array mixed |
|
245 | + * @return stdClass mixed |
|
245 | 246 | */ |
246 | 247 | public static function get_pagination( $prefs = array() ) { |
247 | 248 | global $wp_query; |
@@ -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 |
@@ -43,6 +43,7 @@ |
||
43 | 43 | /** |
44 | 44 | * Extends Scope with scope that is defined in theme_name/scope folder |
45 | 45 | * |
46 | + * @param string|false $view_name |
|
46 | 47 | * @return array |
47 | 48 | */ |
48 | 49 | public static function extend_scope($scope, $view_name) { |
@@ -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 |