@@ -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) { |
@@ -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 | |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * Returns list of templates to check, based on type of request |
| 78 | 78 | * |
| 79 | 79 | * @param string $type |
| 80 | - * @return array |
|
| 80 | + * @return string[] |
|
| 81 | 81 | */ |
| 82 | 82 | private static function get_request_templates_list($type) { |
| 83 | 83 | |
@@ -336,6 +336,7 @@ discard block |
||
| 336 | 336 | /** |
| 337 | 337 | * Returns available template, based on page argument |
| 338 | 338 | * |
| 339 | + * @param string $page |
|
| 339 | 340 | * @return string |
| 340 | 341 | */ |
| 341 | 342 | public static function get_blade_template($page = 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 | |