From 136b1d45564f6f617df93cf3d20df2726ee5371f Mon Sep 17 00:00:00 2001
From: Jennifer Hodgdon <yahgrp@poplarware.com>
Date: Fri, 4 Dec 2015 09:25:52 -0800
Subject: [PATCH] Issue #2608890 by ashhishhh: Improve comment standards for
 tracker module

---
 core/modules/tracker/tracker.module    | 4 ++--
 core/modules/tracker/tracker.pages.inc | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/core/modules/tracker/tracker.module b/core/modules/tracker/tracker.module
index 745b42f0b6ac..eeaa422a3a61 100644
--- a/core/modules/tracker/tracker.module
+++ b/core/modules/tracker/tracker.module
@@ -135,8 +135,8 @@ function tracker_cron() {
 /**
  * Access callback: Determines access permission for a user's own account.
  *
- * @param int $account
- *   The account ID to check.
+ * @param \Drupal\Core\Session\AccountInterface $account
+ *   The user account to track.
  *
  * @return bool
  *   TRUE if a user is accessing tracking info for their own account and
diff --git a/core/modules/tracker/tracker.pages.inc b/core/modules/tracker/tracker.pages.inc
index 68c0667057bc..e3082acfcca2 100644
--- a/core/modules/tracker/tracker.pages.inc
+++ b/core/modules/tracker/tracker.pages.inc
@@ -14,6 +14,9 @@
  * Queries the database for info, adds RDFa info if applicable, and generates
  * the render array that will be used to render the page.
  *
+ * @param \Drupal\user\UserInterface $account
+ *   (optional) The user account to track.
+ *
  * @return array
  *   A renderable array.
  *
-- 
GitLab