@@ -53,6 +53,8 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @since 4.0.0 |
| 55 | 55 | * @version 4.0.0 |
| 56 | + * @param string $slug |
|
| 57 | + * @param string $class |
|
| 56 | 58 | */ |
| 57 | 59 | public function add_admin_notice( $slug, $class, $message ) { |
| 58 | 60 | $this->notices[ $slug ] = array( |
@@ -429,7 +431,7 @@ discard block |
||
| 429 | 431 | * Checks if card is 3DS. |
| 430 | 432 | * |
| 431 | 433 | * @since 4.0.4 |
| 432 | - * @param object $source_object |
|
| 434 | + * @param stdClass $source_object |
|
| 433 | 435 | * @return bool |
| 434 | 436 | */ |
| 435 | 437 | public function is_3ds_card( $source_object ) { |
@@ -452,7 +454,7 @@ discard block |
||
| 452 | 454 | * |
| 453 | 455 | * @since 4.0.8 |
| 454 | 456 | * @param string $source_id |
| 455 | - * @return bool |
|
| 457 | + * @return integer |
|
| 456 | 458 | */ |
| 457 | 459 | public function is_type_legacy_card( $source_id ) { |
| 458 | 460 | return ( preg_match( '/^card_/', $source_id ) ); |