@@ -380,7 +380,7 @@ |
||
380 | 380 | * |
381 | 381 | * @param string $option Option value from the site. |
382 | 382 | * @param callable $url_function Function retrieving the URL to normalize. |
383 | - * @return mixed|string URL. |
|
383 | + * @return callable URL. |
|
384 | 384 | */ |
385 | 385 | public static function normalize_www_in_url( $option, $url_function ) { |
386 | 386 | $url = wp_parse_url( call_user_func( $url_function ) ); |
@@ -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 | */ |