Changeset View
Changeset View
Standalone View
Standalone View
src/applications/audit/storage/PhabricatorAuditInlineComment.php
| Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | public static function loadDraftAndPublishedComments( | ||||
| } | } | ||||
| return self::buildProxies($inlines); | return self::buildProxies($inlines); | ||||
| } | } | ||||
| private static function buildProxies(array $inlines) { | private static function buildProxies(array $inlines) { | ||||
| $results = array(); | $results = array(); | ||||
| foreach ($inlines as $key => $inline) { | foreach ($inlines as $key => $inline) { | ||||
| $results[$key] = PhabricatorAuditInlineComment::newFromModernComment( | $results[$key] = self::newFromModernComment( | ||||
| $inline); | $inline); | ||||
| } | } | ||||
| return $results; | return $results; | ||||
| } | } | ||||
| public function setSyntheticAuthor($synthetic_author) { | public function setSyntheticAuthor($synthetic_author) { | ||||
| $this->syntheticAuthor = $synthetic_author; | $this->syntheticAuthor = $synthetic_author; | ||||
| return $this; | return $this; | ||||
| ▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines | |||||