1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-22 04:31:13 +01:00

Fix wrong assert_instances_of() added by D2091

Test Plan: Display revision.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D2095
This commit is contained in:
vrana 2012-04-03 16:35:35 -07:00
parent a309d5ba2f
commit 6a0b25c188
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ final class DifferentialRevisionEditor {
}
public function setAuxiliaryFields(array $auxiliary_fields) {
assert_instances_of($auxiliary_fields, 'DifferentialAuxiliaryField');
assert_instances_of($auxiliary_fields, 'DifferentialFieldSpecification');
$this->auxiliaryFields = $auxiliary_fields;
return $this;
}

View file

@ -39,7 +39,7 @@ final class DifferentialRevisionDetailView extends AphrontView {
}
public function setAuxiliaryFields(array $fields) {
assert_instances_of($fields, 'DifferentialAuxiliaryField');
assert_instances_of($fields, 'DifferentialFieldSpecification');
$this->auxiliaryFields = $fields;
return $this;
}