1
0
Fork 0
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:
epriestley 2015-05-27 15:47:18 -07:00
parent ce94fe702b
commit 5aa4044a9d

View file

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