Completed
Push — master ( 546771...752487 )
by Claudio
08:18
created
includes/api/class-wc-rest-orders-controller.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
 	 * Create order.
461 461
 	 *
462 462
 	 * @param WP_REST_Request $request Full details about the request.
463
-	 * @return int|WP_Error
463
+	 * @return integer
464 464
 	 */
465 465
 	protected function create_order( $request ) {
466 466
 		wc_transaction_query( 'start' );
@@ -945,7 +945,7 @@  discard block
 block discarded – undo
945 945
 	 *
946 946
 	 * @param WP_REST_Request $request Full details about the request.
947 947
 	 * @param WP_Post $post Post data.
948
-	 * @return int|WP_Error
948
+	 * @return integer
949 949
 	 */
950 950
 	protected function update_order( $request, $post ) {
951 951
 		try {
Please login to merge, or discard this patch.