1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-21 19:19:12 +01:00

Return $this from shortcuts

Test Plan:
Search for `>setLineWidthFromChangesets(`.
Search for `>loadAndAttachAuxiliaryAttributes(`.

Reviewers: epriestley, jungejason

Reviewed By: jungejason

CC: aran

Differential Revision: https://secure.phabricator.com/D2102
This commit is contained in:
vrana 2012-04-03 12:11:51 -07:00
parent 582fc847f2
commit b8cb52a9da
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ final class DifferentialPrimaryPaneView extends AphrontView {
public function setLineWidthFromChangesets(array $changesets) {
assert_instances_of($changesets, 'DifferentialChangeset');
if (empty($changesets)) {
return;
return $this;
}
$max = 1;

View file

@ -120,7 +120,7 @@ final class ManiphestTask extends ManiphestDAO {
public function loadAndAttachAuxiliaryAttributes() {
if (!$this->getPHID()) {
$this->auxiliaryAttributes = array();
return;
return $this;
}
$storage = id(new ManiphestTaskAuxiliaryStorage())->loadAllWhere(