Completed
Pull Request — master (#488)
by Roy
02:13
created
includes/compat/class-wc-stripe-compat.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,7 +64,6 @@  discard block
 block discarded – undo
64 64
 	 * Checks if page is pay for order and change subs payment page.
65 65
 	 *
66 66
 	 * @since 4.0.4
67
-	 * @param object $source_object
68 67
 	 * @return bool
69 68
 	 */
70 69
 	public function is_subs_change_payment() {
@@ -222,7 +221,6 @@  discard block
 block discarded – undo
222 221
 	 * process_subscription_payment function.
223 222
 	 * @param mixed $order
224 223
 	 * @param int $amount (default: 0)
225
-	 * @param string $stripe_token (default: '')
226 224
 	 * @param  bool initial_payment
227 225
 	 */
228 226
 	public function process_subscription_payment( $order = '', $amount = 0 ) {
@@ -267,7 +265,6 @@  discard block
 block discarded – undo
267 265
 	 * @todo refactor to avoid DRY.
268 266
 	 * @param mixed $order
269 267
 	 * @param int $amount (default: 0)
270
-	 * @param string $stripe_token (default: '')
271 268
 	 * @param  bool initial_payment
272 269
 	 */
273 270
 	public function retry_subscription_payment( $order = '', $amount = 0 ) {
@@ -320,7 +317,7 @@  discard block
 block discarded – undo
320 317
 
321 318
 	/**
322 319
 	 * Don't transfer Stripe fee/ID meta to renewal orders.
323
-	 * @param int $resubscribe_order The order created for the customer to resubscribe to the old expired/cancelled subscription
320
+	 * @param integer $renewal_order
324 321
 	 */
325 322
 	public function delete_renewal_meta( $renewal_order ) {
326 323
 		delete_post_meta( ( WC_Stripe_Helper::is_pre_30() ? $renewal_order->id : $renewal_order->get_id() ), 'Stripe Fee' );
@@ -562,6 +559,8 @@  discard block
 block discarded – undo
562 559
 	/**
563 560
 	 * Process the pre-order
564 561
 	 * @param int $order_id
562
+	 * @param boolean $retry
563
+	 * @param boolean $force_save_source
565 564
 	 * @return array
566 565
 	 */
567 566
 	public function process_pre_order( $order_id, $retry, $force_save_source ) {
Please login to merge, or discard this patch.