Use assert_instances_of() in Differential

Summary: NOTE: This is not produced by a script so there might be errors. Please review carefully.

Test Plan: Browse around Differential.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D2103
This commit is contained in:
vrana
2012-04-04 13:13:08 -07:00
parent 01767c482d
commit 582fc847f2
27 changed files with 64 additions and 7 deletions

View File

@@ -42,6 +42,7 @@ final class DifferentialInlineCommentView extends AphrontView {
}
public function setHandles(array $handles) {
assert_instances_of($handles, 'PhabricatorObjectHandle');
$this->handles = $handles;
return $this;
}