mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +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) {
|
private function buildGroupClause(AphrontDatabaseConnection $conn_r) {
|
||||||
return qsprintf(
|
if ($this->filterPHIDs) {
|
||||||
$conn_r,
|
return qsprintf($conn_r, 'GROUP BY ref.chronologicalKey');
|
||||||
'GROUP BY '.($this->filterPHIDs
|
} else {
|
||||||
? 'ref.chronologicalKey'
|
return qsprintf($conn_r, 'GROUP BY story.chronologicalKey');
|
||||||
: 'story.chronologicalKey'));
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getPagingColumn() {
|
protected function getPagingColumn() {
|
||||||
|
|
Loading…
Reference in a new issue