]> khamidou — GitHub mirrors - arcanist.git/commit
Use assert_instances_of(, 'array')
authorvrana <jakubv@fb.com>
Sat, 12 Jan 2013 04:12:01 +0000 (20:12 -0800)
committervrana <jakubv@fb.com>
Mon, 14 Jan 2013 19:36:29 +0000 (11:36 -0800)
commitd4359a838add593ba9066697662375953f685c3b
tree684ca27d4937e740f0d767554b396326407aba35
parente8decd20624e6f2ca5a0c528b77b12af75f56c26
Use assert_instances_of(, 'array')

Summary: To have at least one real callsite.

Test Plan:
  $message = new ArcanistLintMessage();
  $message->setOtherLocations(array());
  $message->setOtherLocations(array(array()));
  $message->setOtherLocations(array(1));

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4419
src/lint/ArcanistLintMessage.php