@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * Returns list of allowed variables that can be used in theme config |
14 | 14 | * |
15 | - * @return array |
|
15 | + * @return string[] |
|
16 | 16 | */ |
17 | 17 | private static function get_allowed_variables() { |
18 | 18 |
@@ -12,6 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * Returns basic scope |
14 | 14 | * |
15 | + * @param string $template_name |
|
15 | 16 | * @return array |
16 | 17 | */ |
17 | 18 | public static function get_scope($template_name = null) { |
@@ -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; |
@@ -61,6 +61,9 @@ |
||
61 | 61 | $this->init(); |
62 | 62 | } |
63 | 63 | |
64 | + /** |
|
65 | + * @param integer|null $uid |
|
66 | + */ |
|
64 | 67 | private function verify_id($uid) { |
65 | 68 | return $uid; |
66 | 69 | } |
@@ -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 |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * Returns template name for render, based on type of request |
53 | 53 | * |
54 | 54 | * @param string $type |
55 | - * @return array |
|
55 | + * @return string|false |
|
56 | 56 | */ |
57 | 57 | public static function get_available_template($type) { |
58 | 58 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | * Returns list of templates to check, based on type of request |
88 | 88 | * |
89 | 89 | * @param string $type |
90 | - * @return array |
|
90 | + * @return string[] |
|
91 | 91 | */ |
92 | 92 | private static function get_request_templates_list($type) { |
93 | 93 | |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | /** |
285 | 285 | * Returns classy template name or boolean if this is not classy template |
286 | 286 | * |
287 | - * @return mixed |
|
287 | + * @return string|false |
|
288 | 288 | */ |
289 | 289 | public static function get_classy_template() { |
290 | 290 | |
@@ -373,6 +373,7 @@ discard block |
||
373 | 373 | /** |
374 | 374 | * Returns available template, based on page argument |
375 | 375 | * |
376 | + * @param string $page |
|
376 | 377 | * @return string |
377 | 378 | */ |
378 | 379 | public static function get_blade_template($page = null) { |