@@ -45,7 +45,7 @@ discard block  | 
                                                    ||
| 45 | 45 | *  | 
                                                        
| 46 | 46 | * @param Array $allowed_post_types Allowed post types.  | 
                                                        
| 47 | 47 | *  | 
                                                        
| 48 | - * @return array  | 
                                                        |
| 48 | + * @return string[]  | 
                                                        |
| 49 | 49 | */  | 
                                                        
| 50 | 50 |  	public function allow_bbpress_post_types( $allowed_post_types ) { | 
                                                        
| 51 | 51 | $allowed_post_types[] = 'forum';  | 
                                                        
@@ -59,7 +59,7 @@ discard block  | 
                                                    ||
| 59 | 59 | *  | 
                                                        
| 60 | 60 | * @param Array $allowed_meta_keys Allowed meta keys.  | 
                                                        
| 61 | 61 | *  | 
                                                        
| 62 | - * @return array  | 
                                                        |
| 62 | + * @return string[]  | 
                                                        |
| 63 | 63 | */  | 
                                                        
| 64 | 64 |  	public function allow_bbpress_public_metadata( $allowed_meta_keys ) { | 
                                                        
| 65 | 65 | $allowed_meta_keys[] = '_bbp_forum_id';  | 
                                                        
@@ -235,7 +235,7 @@  | 
                                                    ||
| 235 | 235 | * @param string $name Template name, available in `./templates` folder.  | 
                                                        
| 236 | 236 | * @param array $template_props Template properties. Optional.  | 
                                                        
| 237 | 237 | * @param bool $print Render template. True as default.  | 
                                                        
| 238 | - * @return false|string HTML markup or false.  | 
                                                        |
| 238 | + * @return string|null HTML markup or false.  | 
                                                        |
| 239 | 239 | */  | 
                                                        
| 240 | 240 |  function render( $name, $template_props = array(), $print = true ) { | 
                                                        
| 241 | 241 |  	if ( ! strpos( $name, '.php' ) ) { |