1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00
Summary:
Fixes T2765

Wrong brace placement D:

Test Plan: `/api/differential.getcommitmessage` with some set field

Reviewers: epriestley

CC: aran, Korvin

Maniphest Tasks: T2765

Differential Revision: https://secure.phabricator.com/D5376
This commit is contained in:
Anh Nhan Nguyen 2013-03-19 06:03:13 -07:00 committed by epriestley
parent b8c04419f0
commit 038869c056
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ final class DifferentialCCsFieldSpecification
} }
public function setValueFromParsedCommitMessage($value) { public function setValueFromParsedCommitMessage($value) {
$this->ccs = array_unique(nonempty($value), array()); $this->ccs = array_unique(nonempty($value, array()));
return $this; return $this;
} }

View file

@ -92,7 +92,7 @@ final class DifferentialManiphestTasksFieldSpecification
} }
public function setValueFromParsedCommitMessage($value) { public function setValueFromParsedCommitMessage($value) {
$this->maniphestTasks = array_unique(nonempty($value), array()); $this->maniphestTasks = array_unique(nonempty($value, array()));
return $this; return $this;
} }

View file

@ -91,7 +91,7 @@ final class DifferentialReviewersFieldSpecification
} }
public function setValueFromParsedCommitMessage($value) { public function setValueFromParsedCommitMessage($value) {
$this->reviewers = array_unique(nonempty($value), array()); $this->reviewers = array_unique(nonempty($value, array()));
return $this; return $this;
} }