mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Fix synthetic (lint) inline comments for comment hiding
Summary: These could cause F442758. Test Plan: {F442779} Reviewers: btrahan, joshuaspence Reviewed By: joshuaspence Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D13042
This commit is contained in:
parent
ce94fe702b
commit
5aa4044a9d
1 changed files with 6 additions and 0 deletions
|
@ -51,10 +51,16 @@ final class DifferentialInlineComment
|
|||
}
|
||||
|
||||
public function supportsHiding() {
|
||||
if ($this->getSyntheticAuthor()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public function isHidden() {
|
||||
if (!$this->supportsHiding()) {
|
||||
return false;
|
||||
}
|
||||
return $this->proxy->getIsHidden();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue