Completed
Push — add/nosara-tracks ( 653370...79b50d )
by
unknown
108:42 queued 88:15
created
_inc/lib/tracks/client.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
  * @param string $event_name The name of the event
38 38
  * @param array $properties Custom properties to send with the event
39 39
  * @param int $event_timestamp_millis The time in millis since 1970-01-01 00:00:00 when the event occurred
40
- * @return \Tracks_Event|\WP_Error
40
+ * @return Tracks_Event
41 41
  */
42 42
 function tracks_build_event_obj( $user
43 43
 								, $event_name
@@ -78,7 +78,6 @@  discard block
 block discarded – undo
78 78
 /**
79 79
  * Record an event in Tracks - this is the preferred way to record events from PHP.
80 80
  *
81
- * @param mixed $identity username, user_id, or WP_user object
82 81
  * @param string $event_name The name of the event
83 82
  * @param array $properties Custom properties to send with the event
84 83
  * @param int $event_timestamp_millis The time in millis since 1970-01-01 00:00:00 when the event occurred
Please login to merge, or discard this patch.
class.jetpack-tracks.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
 		self::record_user_event( 'module_deactivated', array( 'module' => $module ) );
25 25
 	}
26 26
 
27
+	/**
28
+	 * @param string $event_type
29
+	 */
27 30
 	static function record_user_event( $event_type, $data ) {
28 31
 
29 32
 		$user = wp_get_current_user();
Please login to merge, or discard this patch.