Completed
Push — add/jitm-builder ( cfaa29...a5c6cd )
by
unknown
81:31 queued 71:29
created
sal/class.json-api-links.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@  discard block
 block discarded – undo
29 29
 	 *
30 30
 	 * Used to construct meta links in API responses
31 31
 	 *
32
-	 * @param mixed $args Optional arguments to be appended to URL
33 32
 	 * @return string Endpoint URL
34 33
 	 **/
35 34
 	function get_link() {
@@ -129,7 +128,7 @@  discard block
 block discarded – undo
129 128
 	 * This method is used in get_link() to construct meta links for API responses.
130 129
 	 * 
131 130
 	 * @param $template_path string The generic endpoint path, e.g. /sites/%s
132
-	 * @param $path string The current endpoint path, relative to the version, e.g. /sites/12345
131
+	 * @param string $path string The current endpoint path, relative to the version, e.g. /sites/12345
133 132
 	 * @param $request_method string Request method used to access the endpoint path
134 133
 	 * @return string The current version, or otherwise the maximum version available
135 134
 	 */
Please login to merge, or discard this patch.
sal/class.json-api-site-jetpack-base.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -4,10 +4,20 @@  discard block
 block discarded – undo
4 4
 require_once dirname( __FILE__ ) . '/class.json-api-site-base.php';
5 5
 
6 6
 abstract class Abstract_Jetpack_Site extends SAL_Site {
7
+
8
+	/**
9
+	 * @param string $name
10
+	 */
7 11
 	abstract protected function get_constant( $name );
8 12
 
13
+	/**
14
+	 * @param string $feature_name
15
+	 */
9 16
 	abstract protected function current_theme_supports( $feature_name );
10 17
 
18
+	/**
19
+	 * @param string $feature_name
20
+	 */
11 21
 	abstract protected function get_theme_support( $feature_name );
12 22
 
13 23
 	abstract protected function get_mock_option( $name );
@@ -16,6 +26,9 @@  discard block
 block discarded – undo
16 26
 
17 27
 	abstract public function get_updates();
18 28
 
29
+	/**
30
+	 * @return string
31
+	 */
19 32
 	abstract protected function main_network_site();
20 33
 
21 34
 	abstract protected function wp_version();
Please login to merge, or discard this patch.