Completed
Push — master ( f8db1c...8d1765 )
by Mike
07:29
created
includes/api/class-wc-rest-orders-controller.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
 	 * Create order.
434 434
 	 *
435 435
 	 * @param WP_REST_Request $request Full details about the request.
436
-	 * @return int|WP_Error
436
+	 * @return integer
437 437
 	 */
438 438
 	protected function create_order( $request ) {
439 439
 		wc_transaction_query( 'start' );
@@ -916,7 +916,7 @@  discard block
 block discarded – undo
916 916
 	 *
917 917
 	 * @param WP_REST_Request $request Full details about the request.
918 918
 	 * @param WP_Post $post Post data.
919
-	 * @return int|WP_Error
919
+	 * @return integer
920 920
 	 */
921 921
 	protected function update_order( $request, $post ) {
922 922
 		try {
@@ -1076,7 +1076,7 @@  discard block
 block discarded – undo
1076 1076
 	 *
1077 1077
 	 * @since 2.6.0
1078 1078
 	 * @param array $args Order args.
1079
-	 * @return WC_Order|WP_Error
1079
+	 * @return WC_Order
1080 1080
 	 */
1081 1081
 	protected function create_base_order( $args ) {
1082 1082
 		return wc_create_order( $args );
Please login to merge, or discard this patch.