diff --git a/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php b/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php index 25a3b397d3..e02f368113 100644 --- a/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php +++ b/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php @@ -51,7 +51,7 @@ final class DifferentialDoorkeeperRevisionFeedStoryPublisher $title = $object->getTitle(); - return "{$prefix} {$lines} D{$id}: {$title}"; + return ltrim("{$prefix} {$lines} D{$id}: {$title}"); } public function getObjectURI($object) { diff --git a/src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php b/src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php index cf17b95a5b..77fc99a302 100644 --- a/src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php +++ b/src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php @@ -112,7 +112,7 @@ final class DiffusionDoorkeeperCommitFeedStoryPublisher $title = $object->getSummary(); - return "{$prefix} {$name}: {$title}"; + return ltrim("{$prefix} {$name}: {$title}"); } public function getObjectURI($object) {