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:
parent
6295134bc7
commit
3ae1fed4f9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue