Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / legalpad / remarkup / LegalpadDocumentRemarkupRule.php
blob6e4dd5810f8b18647c4f357fab506fafd69d3762
1 <?php
3 final class LegalpadDocumentRemarkupRule extends PhabricatorObjectRemarkupRule {
5 protected function getObjectNamePrefix() {
6 return 'L';
9 protected function loadObjects(array $ids) {
10 $viewer = $this->getEngine()->getConfig('viewer');
12 return id(new LegalpadDocumentQuery())
13 ->setViewer($viewer)
14 ->withIDs($ids)
15 ->execute();