Completed
Pull Request — master (#10372)
by Bernhard
14:40 queued 07:38
created
modules/publicize/class-jetpack-publicize-gutenberg.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@  discard block
 block discarded – undo
31 31
 	 * Set up hooks to extend legacy Publicize behavior.
32 32
 	 *
33 33
 	 * @since 5.9.1
34
+	 * @param Publicize $publicize
34 35
 	 */
35 36
 	public function __construct( $publicize ) {
36 37
 		// Do edit page specific setup.
@@ -56,7 +57,6 @@  discard block
 block discarded – undo
56 57
 	 *
57 58
 	 * @since 5.9.1
58 59
 	 *
59
-	 * @param WP_REST_Request $request Request instance from REST call.
60 60
 	 *
61 61
 	 * @return string JSON encoded connection list data.
62 62
 	 */
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 	 * @param stdClass        $new_post_obj Updated post object about to be inserted view REST endpoint.
204 204
 	 * @param WP_REST_Request $request      Request object, possibly containing 'publicize' field {@see add_publicize_rest_fields()}.
205 205
 	 *
206
-	 * @return WP_Post Returns the original $new_post value unchanged.
206
+	 * @return stdClass Returns the original $new_post value unchanged.
207 207
 	 */
208 208
 	public function process_publicize_from_rest( $new_post_obj, $request ) {
209 209
 		global $publicize;
Please login to merge, or discard this patch.