diff --git a/src/lint/ArcanistLintMessage.php b/src/lint/ArcanistLintMessage.php index a0c71c09..92e2c6b4 100644 --- a/src/lint/ArcanistLintMessage.php +++ b/src/lint/ArcanistLintMessage.php @@ -142,6 +142,7 @@ final class ArcanistLintMessage { * @param dict Keys 'path', 'line', 'char', 'original'. */ public function setOtherLocations(array $locations) { + assert_instances_of($locations, 'array'); $this->otherLocations = $locations; return $this; }