@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * Record an event. |
| 54 | 54 | * |
| 55 | - * @param mixed $event Event object to send to Tracks. An array will be cast to object. Required. |
|
| 55 | + * @param Jetpack_Tracks_Event $event Event object to send to Tracks. An array will be cast to object. Required. |
|
| 56 | 56 | * Properties are included directly in the pixel query string after light validation. |
| 57 | 57 | * @return mixed True on success, WP_Error on failure |
| 58 | 58 | */ |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | * |
| 104 | 104 | * @param string $content The current message. |
| 105 | 105 | * |
| 106 | - * @return array The new message. |
|
| 106 | + * @return string The new message. |
|
| 107 | 107 | */ |
| 108 | 108 | public static function jitm_woocommerce_services_msg( $content ) { |
| 109 | 109 | if ( ! function_exists( 'wc_get_base_location' ) ) { |