1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-10 00:42:40 +01:00

Use __CLASS__ instead of hardcoding class names

Summary: Use `__CLASS__` instead of hardcoding class names. Depends on D12804.

Test Plan: Eyeball it.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12805
This commit is contained in:
Joshua Spence 2015-05-14 07:09:53 +10:00
parent 6295134bc7
commit 3ae1fed4f9

View file

@ -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;
}