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:
parent
582fc847f2
commit
b8cb52a9da
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue