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

Commit

Permalink
More docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpatrick committed Feb 1, 2016
1 parent c24a7c3 commit 9b08849
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/tracker/models/base/SubmissionModelBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions modules/tracker/models/pdo/SubmissionModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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

This comment has been minimized.

Copy link
@mgrauer

mgrauer Feb 1, 2016

Contributor

really the last change

* @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

and sync

* 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',
Expand Down

0 comments on commit 9b08849

Please sign in to comment.