Commit e62f1130 authored by catch's avatar catch

Issue #1811888 by bleen, Mile23, a_thakur, Nitesh Sethia, naveenvalecha: Add...

Issue #1811888 by bleen, Mile23, a_thakur, Nitesh Sethia, naveenvalecha: Add missing type hinting to Tracker module docblocks
parent 30c5c2da
......@@ -432,12 +432,12 @@ function testTrackerAdminUnpublish() {
* indicators, as well as the "x new" replies link to the tracker.
* We do this in JavaScript to prevent breaking the render cache.
*
* @param $node_id
* @param int $node_id
* A node ID, that must exist as a data-history-node-id attribute
* @param $node_timestamp
* @param int $node_timestamp
* A node timestamp, that must exist as a data-history-node-timestamp
* attribute.
* @param $node_last_comment_timestamp
* @param int $node_last_comment_timestamp
* A node's last comment timestamp, that must exist as a
* data-history-node-last-comment-timestamp attribute.
* @param bool $library_is_present
......
......@@ -232,11 +232,11 @@ function tracker_comment_delete(CommentInterface $comment) {
/**
* Updates indexing tables when a node is added, updated, or commented on.
*
* @param $nid
* @param int $nid
* A node ID.
* @param $uid
* @param int $uid
* The node or comment author.
* @param $changed
* @param int $changed
* The node updated timestamp or comment timestamp.
*/
function _tracker_add($nid, $uid, $changed) {
......@@ -303,11 +303,11 @@ function _tracker_calculate_changed($node) {
/**
* Cleans up indexed data when nodes or comments are removed.
*
* @param $nid
* @param int $nid
* The node ID.
* @param $uid
* @param int $uid
* The author of the node or comment.
* @param $changed
* @param int $changed
* The last changed timestamp of the node.
*/
function _tracker_remove($nid, $uid = NULL, $changed = NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment