1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Add missing "array" typehint to DifferentialCommitMessageParser

Summary: See D17058.

Test Plan: Ran `arc diff`, which parsed fields as a side effect.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D17112
This commit is contained in:
epriestley 2016-12-29 08:05:26 -08:00
parent 065d865bce
commit 4d8ac00602

View file

@ -66,7 +66,7 @@ final class DifferentialCommitMessageParser extends Phobject {
/**
* @task config
*/
public function setCommitMessageFields($fields) {
public function setCommitMessageFields(array $fields) {
assert_instances_of($fields, 'DifferentialCommitMessageField');
$fields = mpull($fields, null, 'getCommitMessageFieldKey');
$this->commitMessageFields = $fields;