mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 13:52:40 +01:00
Fixing D5371
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:
parent
b8c04419f0
commit
038869c056
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue