Completed
Push — add/sync-rest-2 ( ada61b...a7dbc1 )
by
unknown
09:34
created
sal/class.json-api-post-base.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@  discard block
 block discarded – undo
16 16
 	public $context;
17 17
 	public $site;
18 18
 
19
+	/**
20
+	 * @param Jetpack_Site $site
21
+	 */
19 22
 	function __construct( $site, $post, $context ) {
20 23
 		$this->post = $post;
21 24
 		$this->context = $context;
@@ -487,6 +490,10 @@  discard block
 block discarded – undo
487 490
 		return $suggestions;
488 491
 	}
489 492
 
493
+	/**
494
+	 * @param string $taxonomy_type
495
+	 * @param string $context
496
+	 */
490 497
 	private function format_taxonomy( $taxonomy, $taxonomy_type, $context ) {
491 498
 		// Permissions
492 499
 		switch ( $context ) {
Please login to merge, or discard this patch.
sal/class.json-api-site-base.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@  discard block
 block discarded – undo
16 16
 	public $blog_id;
17 17
 	public $platform;
18 18
 
19
+	/**
20
+	 * @param WPORG_Platform $platform
21
+	 */
19 22
 	public function __construct( $blog_id, $platform ) {
20 23
 		$this->blog_id = $blog_id;
21 24
 		$this->platform = $platform;
@@ -92,6 +95,9 @@  discard block
 block discarded – undo
92 95
 	abstract public function wrap_post( $post, $context );
93 96
 
94 97
 
98
+	/**
99
+	 * @param string $context
100
+	 */
95 101
 	public function get_post_by_id( $post_id, $context ) {
96 102
 		$post = get_post( $post_id, OBJECT, $context );
97 103
 
Please login to merge, or discard this patch.