diff --git a/core/modules/tracker/tracker.module b/core/modules/tracker/tracker.module index 745b42f0b6ace64c147934d7ec6ad20c94437c56..eeaa422a3a6170210dce5c6445195f73eea0b644 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 68c0667057bc0edc6cc92dd6b8d01e879b925497..e3082acfcca28452906af0a73e0157d661fef4f2 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. *