Completed
Push — add/publicize-rest-api ( e5b382...963af3 )
by Bernhard
1106:34 queued 1095:45
created
modules/publicize/rest-api.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,6 @@  discard block
 block discarded – undo
56 56
 	 *
57 57
 	 * @since 5.9.1
58 58
 	 *
59
-	 * @param WP_REST_Request $request Request instance from REST call.
60 59
 	 *
61 60
 	 * @return string JSON encoded connection list data.
62 61
 	 */
@@ -242,7 +241,7 @@  discard block
 block discarded – undo
242 241
 	 * @param stdClass        $new_post_obj Updated post object about to be inserted view REST endpoint.
243 242
 	 * @param WP_REST_Request $request      Request object, possibly containing 'publicize' field {@see add_publicize_rest_fields()}.
244 243
 	 *
245
-	 * @return WP_Post Returns the original $new_post value unchanged.
244
+	 * @return stdClass Returns the original $new_post value unchanged.
246 245
 	 */
247 246
 	public function process_publicize_from_rest( $new_post_obj, $request ) {
248 247
 		global $publicize;
Please login to merge, or discard this patch.