Skip to content

Commit

Permalink
appease the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mruac committed Dec 20, 2024
1 parent b93d693 commit a990bf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bridges/BlueskyBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function collectData()
$postAuthorHandle = $post['post']['author']['handle'] !== 'handle.invalid' ? '<i>@' . $post['post']['author']['handle'] . '</i> ' : '';
$postDisplayName = $post['post']['author']['displayName'] ?? '';
$postDisplayName = e($postDisplayName);
$postUri = $item['uri'];
$postUri = $item['uri'];

if (Debug::isEnabled()) {
$url = explode('/', $post['post']['uri']);
Expand Down Expand Up @@ -259,7 +259,7 @@ public function collectData()
$quotedAuthorDid = $quotedRecord['author']['did'];
$quotedDisplayName = $quotedRecord['author']['displayName'] ?? '';
$quotedDisplayName = e($quotedDisplayName);
$quotedAuthorHandle = $quotedRecord['author']['handle'] !== 'handle.invalid' ? '<i>@' . $quotedRecord['author']['handle'] . '</i>' : '';
$quotedAuthorHandle = $quotedRecord['author']['handle'] !== 'handle.invalid' ? '<i>@' . $quotedRecord['author']['handle'] . '</i>' : '';

$parts = explode('/', $quotedRecord['uri']);
$quotedPostId = end($parts);
Expand Down Expand Up @@ -330,7 +330,7 @@ public function collectData()
$replyPostAuthorHandle = $replyPost['author']['handle'] !== 'handle.invalid' ? '<i>@' . $replyPost['author']['handle'] . '</i> ' : '';
$replyPostDisplayName = $replyPost['author']['displayName'] ?? '';
$replyPostDisplayName = e($replyPostDisplayName);
$replyPostUri = self::URI . '/profile/' . $this->fallbackAuthor($replyPost['author'], 'url') . '/post/' . explode('app.bsky.feed.post/', $replyPost['uri'])[1];
$replyPostUri = self::URI . '/profile/' . $this->fallbackAuthor($replyPost['author'], 'url') . '/post/' . explode('app.bsky.feed.post/', $replyPost['uri'])[1];

// reply post
$description .= $this->getPostDescription(
Expand Down

0 comments on commit a990bf4

Please sign in to comment.