@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * |
124 | 124 | * @since 4.0.0 |
125 | 125 | * @version 4.0.0 |
126 | - * @param object $notification |
|
126 | + * @param string $notification |
|
127 | 127 | * @param bool $retry |
128 | 128 | */ |
129 | 129 | public function process_webhook_payment( $notification, $retry = true ) { |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | * We want to put the order into on-hold and add an order note. |
242 | 242 | * |
243 | 243 | * @since 4.0.0 |
244 | - * @param object $notification |
|
244 | + * @param string $notification |
|
245 | 245 | */ |
246 | 246 | public function process_webhook_dispute( $notification ) { |
247 | 247 | $order = WC_Stripe_Helper::get_order_by_charge_id( $notification->data->object->charge ); |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | * |
266 | 266 | * @since 4.0.0 |
267 | 267 | * @version 4.0.0 |
268 | - * @param object $notification |
|
268 | + * @param string $notification |
|
269 | 269 | */ |
270 | 270 | public function process_webhook_capture( $notification ) { |
271 | 271 | $order = WC_Stripe_Helper::get_order_by_charge_id( $notification->data->object->id ); |
@@ -314,7 +314,7 @@ discard block |
||
314 | 314 | * |
315 | 315 | * @since 4.0.0 |
316 | 316 | * @version 4.0.0 |
317 | - * @param object $notification |
|
317 | + * @param string $notification |
|
318 | 318 | */ |
319 | 319 | public function process_webhook_charge_succeeded( $notification ) { |
320 | 320 | // The following payment methods are synchronous so does not need to be handle via webhook. |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | * |
357 | 357 | * @since 4.0.0 |
358 | 358 | * @version 4.0.0 |
359 | - * @param object $notification |
|
359 | + * @param string $notification |
|
360 | 360 | */ |
361 | 361 | public function process_webhook_charge_failed( $notification ) { |
362 | 362 | $order = WC_Stripe_Helper::get_order_by_charge_id( $notification->data->object->id ); |
@@ -383,7 +383,7 @@ discard block |
||
383 | 383 | * |
384 | 384 | * @since 4.0.0 |
385 | 385 | * @version 4.0.0 |
386 | - * @param object $notification |
|
386 | + * @param string $notification |
|
387 | 387 | */ |
388 | 388 | public function process_webhook_source_canceled( $notification ) { |
389 | 389 | $order = WC_Stripe_Helper::get_order_by_charge_id( $notification->data->object->id ); |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | * |
411 | 411 | * @since 4.0.0 |
412 | 412 | * @version 4.0.0 |
413 | - * @param object $notification |
|
413 | + * @param string $notification |
|
414 | 414 | */ |
415 | 415 | public function process_webhook_refund( $notification ) { |
416 | 416 | $order = WC_Stripe_Helper::get_order_by_charge_id( $notification->data->object->id ); |