From 9b0884914de82718dcb1ebdd6b676b5c2b2421ef Mon Sep 17 00:00:00 2001 From: Patrick Reynolds Date: Mon, 1 Feb 2016 16:21:29 -0500 Subject: [PATCH] More docs. --- modules/tracker/models/base/SubmissionModelBase.php | 4 ++-- modules/tracker/models/pdo/SubmissionModel.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/tracker/models/base/SubmissionModelBase.php b/modules/tracker/models/base/SubmissionModelBase.php index 392a55df1..8b9e578cb 100644 --- a/modules/tracker/models/base/SubmissionModelBase.php +++ b/modules/tracker/models/base/SubmissionModelBase.php @@ -97,8 +97,8 @@ abstract public function getScalars($submissionDao, $key = false); * @param Tracker_ProducerDao $producerDao producer DAO * @param false | string $date the end of the interval or false to use 23:59:59 of the current day * @param string $branch the branch of the submission for which to search - * @param bool $onlyOneDay if true return submissions 24 hours back from $date, false otherwise. In the case of - * $date === false, search only in the current day + * @param bool $onlyOneDay if true return submissions 24 hours back from $date. If false, search back as far as + * possible. In the case of $date === false, search only in the current day. * @return false | Tracker_SubmissionDao submission */ abstract public function getLatestSubmissionByProducerDateAndBranch($producerDao, diff --git a/modules/tracker/models/pdo/SubmissionModel.php b/modules/tracker/models/pdo/SubmissionModel.php index c9637cc15..8788d8c64 100644 --- a/modules/tracker/models/pdo/SubmissionModel.php +++ b/modules/tracker/models/pdo/SubmissionModel.php @@ -159,8 +159,8 @@ public function getOrCreateSubmission($producerDao, $uuid) * @param Tracker_ProducerDao $producerDao producer DAO * @param false | string $date the end of the interval or false to use 23:59:59 of the current day * @param string $branch the branch of the submission for which to search - * @param bool $onlyOneDay if true return submissions 24 hours back from $date, false otherwise. In the case of - * $date === false, search only in the current day + * @param bool $onlyOneDay if true return submissions 24 hours back from $date. If false, search back as far as + * possible. In the case of $date === false, search only in the current day. * @return false | Tracker_SubmissionDao submission */ public function getLatestSubmissionByProducerDateAndBranch($producerDao, $date = false, $branch = 'master',