Completed
Push — fusion-sync/jeherve/r197819-wp... ( 00a1cc...724555 )
by Jeremy
20:16 queued 11:08
created
class.json-api-endpoints.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1540,6 +1540,7 @@  discard block
 block discarded – undo
1540 1540
 	 * timezone set in the options table for the blog or the GMT offset.
1541 1541
 	 *
1542 1542
 	 * @param datetime string $date_string Date to parse.
1543
+	 * @param string $date_string
1543 1544
 	 *
1544 1545
 	 * @return array( $local_time_string, $gmt_time_string )
1545 1546
 	 */
@@ -1649,6 +1650,10 @@  discard block
 block discarded – undo
1649 1650
 		do_action( 'restapi_theme_init' );
1650 1651
 	}
1651 1652
 
1653
+	/**
1654
+	 * @param string $from_hook
1655
+	 * @param string $to_hook
1656
+	 */
1652 1657
 	function copy_hooks( $from_hook, $to_hook, $base_paths ) {
1653 1658
 		global $wp_filter;
1654 1659
 		foreach ( $wp_filter as $hook => $actions ) {
@@ -2073,7 +2078,7 @@  discard block
 block discarded – undo
2073 2078
 	 * Get an array of all valid AMP origins for a blog's siteurl.
2074 2079
 	 *
2075 2080
 	 * @param string $siteurl Origin url of the API request.
2076
-	 * @return array
2081
+	 * @return string[]
2077 2082
 	 */
2078 2083
 	public function get_amp_cache_origins( $siteurl ) {
2079 2084
 		$host = parse_url( $siteurl, PHP_URL_HOST );
Please login to merge, or discard this patch.