@@ -1534,6 +1534,7 @@ discard block  | 
                                                    ||
| 1534 | 1534 | * timezone set in the options table for the blog or the GMT offset.  | 
                                                        
| 1535 | 1535 | *  | 
                                                        
| 1536 | 1536 | * @param datetime string $date_string Date to parse.  | 
                                                        
| 1537 | + * @param string $date_string  | 
                                                        |
| 1537 | 1538 | *  | 
                                                        
| 1538 | 1539 | * @return array( $local_time_string, $gmt_time_string )  | 
                                                        
| 1539 | 1540 | */  | 
                                                        
@@ -1643,6 +1644,10 @@ discard block  | 
                                                    ||
| 1643 | 1644 | do_action( 'restapi_theme_init' );  | 
                                                        
| 1644 | 1645 | }  | 
                                                        
| 1645 | 1646 | |
| 1647 | + /**  | 
                                                        |
| 1648 | + * @param string $from_hook  | 
                                                        |
| 1649 | + * @param string $to_hook  | 
                                                        |
| 1650 | + */  | 
                                                        |
| 1646 | 1651 |  	function copy_hooks( $from_hook, $to_hook, $base_paths ) { | 
                                                        
| 1647 | 1652 | global $wp_filter;  | 
                                                        
| 1648 | 1653 |  		foreach ( $wp_filter as $hook => $actions ) { | 
                                                        
@@ -30,6 +30,7 @@ discard block  | 
                                                    ||
| 30 | 30 | * Used to construct meta links in API responses  | 
                                                        
| 31 | 31 | *  | 
                                                        
| 32 | 32 | * @param mixed ...$args Optional arguments to be appended to URL  | 
                                                        
| 33 | + * @param string $args  | 
                                                        |
| 33 | 34 | * @return string Endpoint URL  | 
                                                        
| 34 | 35 | **/  | 
                                                        
| 35 | 36 |  	function get_link( ...$args ) { | 
                                                        
@@ -128,7 +129,7 @@ discard block  | 
                                                    ||
| 128 | 129 | * This method is used in get_link() to construct meta links for API responses.  | 
                                                        
| 129 | 130 | *  | 
                                                        
| 130 | 131 | * @param $template_path string The generic endpoint path, e.g. /sites/%s  | 
                                                        
| 131 | - * @param $path string The current endpoint path, relative to the version, e.g. /sites/12345  | 
                                                        |
| 132 | + * @param string $path string The current endpoint path, relative to the version, e.g. /sites/12345  | 
                                                        |
| 132 | 133 | * @param $request_method string Request method used to access the endpoint path  | 
                                                        
| 133 | 134 | * @return string The current version, or otherwise the maximum version available  | 
                                                        
| 134 | 135 | */  |