Completed
Push — update/deprecate-tracks-client... ( 015169 )
by
unknown
09:09
created
packages/tracking/src/Tracking.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
 	private $product_name;
15 15
 	private $connection;
16 16
 
17
+	/**
18
+	 * @param Connection\Manager $connection
19
+	 */
17 20
 	function __construct( $product_name = 'jetpack', $connection = null ) {
18 21
 		$this->product_name = $product_name;
19 22
 		$this->connection   = $connection;
@@ -60,7 +63,6 @@  discard block
 block discarded – undo
60 63
 	/**
61 64
 	 * Record an event in Tracks - this is the preferred way to record events from PHP.
62 65
 	 *
63
-	 * @param mixed  $identity username, user_id, or WP_user object
64 66
 	 * @param string $event_name The name of the event
65 67
 	 * @param array  $properties Custom properties to send with the event
66 68
 	 * @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.