mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Minor change to suppress linter warning
Summary: Rewrite this expression so that the second parameter to `qsprintf` is a scalar. Test Plan: `arc lint` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11913
This commit is contained in:
parent
98899c822e
commit
ca042df6de
1 changed files with 5 additions and 5 deletions
|
@ -83,11 +83,11 @@ final class PhabricatorFeedQuery
|
|||
}
|
||||
|
||||
private function buildGroupClause(AphrontDatabaseConnection $conn_r) {
|
||||
return qsprintf(
|
||||
$conn_r,
|
||||
'GROUP BY '.($this->filterPHIDs
|
||||
? 'ref.chronologicalKey'
|
||||
: 'story.chronologicalKey'));
|
||||
if ($this->filterPHIDs) {
|
||||
return qsprintf($conn_r, 'GROUP BY ref.chronologicalKey');
|
||||
} else {
|
||||
return qsprintf($conn_r, 'GROUP BY story.chronologicalKey');
|
||||
}
|
||||
}
|
||||
|
||||
protected function getPagingColumn() {
|
||||
|
|
Loading…
Reference in a new issue