Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 9b08849

Browse files
committed
More docs.
1 parent c24a7c3 commit 9b08849

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/tracker/models/base/SubmissionModelBase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ abstract public function getScalars($submissionDao, $key = false);
9797
* @param Tracker_ProducerDao $producerDao producer DAO
9898
* @param false | string $date the end of the interval or false to use 23:59:59 of the current day
9999
* @param string $branch the branch of the submission for which to search
100-
* @param bool $onlyOneDay if true return submissions 24 hours back from $date, false otherwise. In the case of
101-
* $date === false, search only in the current day
100+
* @param bool $onlyOneDay if true return submissions 24 hours back from $date. If false, search back as far as
101+
* possible. In the case of $date === false, search only in the current day.
102102
* @return false | Tracker_SubmissionDao submission
103103
*/
104104
abstract public function getLatestSubmissionByProducerDateAndBranch($producerDao,

modules/tracker/models/pdo/SubmissionModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ public function getOrCreateSubmission($producerDao, $uuid)
159159
* @param Tracker_ProducerDao $producerDao producer DAO
160160
* @param false | string $date the end of the interval or false to use 23:59:59 of the current day
161161
* @param string $branch the branch of the submission for which to search
162-
* @param bool $onlyOneDay if true return submissions 24 hours back from $date, false otherwise. In the case of
163-
* $date === false, search only in the current day
162+
* @param bool $onlyOneDay if true return submissions 24 hours back from $date. If false, search back as far as
163+
* possible. In the case of $date === false, search only in the current day.
164164
* @return false | Tracker_SubmissionDao submission
165165
*/
166166
public function getLatestSubmissionByProducerDateAndBranch($producerDao, $date = false, $branch = 'master',

0 commit comments

Comments
 (0)