diff --git a/modules/tracker/models/base/SubmissionModelBase.php b/modules/tracker/models/base/SubmissionModelBase.php index 8b9e578cb..586e040cd 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. If false, search back as far as - * possible. In the case of $date === false, search only in the current day. + * @param bool $onlyOneDay if true return submissions 24 hours back from $date (In the case of $date === false, + * search only in the current day.) If false, search back as far as possible. * @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 8788d8c64..75258471d 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. If false, search back as far as - * possible. In the case of $date === false, search only in the current day. + * @param bool $onlyOneDay if true return submissions 24 hours back from $date (In the case of $date === false, + * search only in the current day.) If false, search back as far as possible. * @return false | Tracker_SubmissionDao submission */ public function getLatestSubmissionByProducerDateAndBranch($producerDao, $date = false, $branch = 'master',