@@ -15,6 +15,9 @@ |
||
15 | 15 | public $line; |
16 | 16 | public $func_name; |
17 | 17 | |
18 | + /** |
|
19 | + * @param string $func_name |
|
20 | + */ |
|
18 | 21 | public function __construct( $path, $line, $func_name ) { |
19 | 22 | $this->path = $path; |
20 | 23 | $this->line = $line; |
@@ -11,6 +11,10 @@ |
||
11 | 11 | public $message; |
12 | 12 | public $old_declaration; |
13 | 13 | |
14 | + /** |
|
15 | + * @param string $type |
|
16 | + * @param string $message |
|
17 | + */ |
|
14 | 18 | function __construct( $type, $path, $line, $message, $old_declaration ) { |
15 | 19 | $this->type = $type; |
16 | 20 | $this->path = $path; |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * record_event |
50 | 50 | * |
51 | - * @param mixed $event Event object to send to Tracks. An array will be cast to object. Required. |
|
51 | + * @param Jetpack_Tracks_Event $event Event object to send to Tracks. An array will be cast to object. Required. |
|
52 | 52 | * Properties are included directly in the pixel query string after light validation. |
53 | 53 | * @return mixed True on success, WP_Error on failure |
54 | 54 | */ |
@@ -75,6 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | /** |
77 | 77 | * Synchronously request the pixel |
78 | + * @param string $pixel |
|
78 | 79 | */ |
79 | 80 | static function record_pixel( $pixel ) { |
80 | 81 | // Add the Request Timestamp and URL terminator just before the HTTP request. |