diff --git a/src/lint/ArcanistLintMessage.php b/src/lint/ArcanistLintMessage.php index 8996c992..9d2e8911 100644 --- a/src/lint/ArcanistLintMessage.php +++ b/src/lint/ArcanistLintMessage.php @@ -211,7 +211,7 @@ final class ArcanistLintMessage { } public function setDependentMessages(array $messages) { - assert_instances_of($messages, 'ArcanistLintMessage'); + assert_instances_of($messages, __CLASS__); $this->dependentMessages = $messages; return $this; }