1
0
Fork 0

Coding standards

This commit is contained in:
Michael 2021-11-24 07:08:30 +00:00
parent 57cf384fae
commit a86dee8e59

View file

@ -155,10 +155,10 @@ class Status extends BaseFactory
$shared_uri_id = $shared_item['uri-id'] ?? 0; $shared_uri_id = $shared_item['uri-id'] ?? 0;
if ($include_entities) { if ($include_entities) {
$hashtags = array_merge($hashtags, $this->hashtag->createFromUriId($shared_uri_id, $text)); $hashtags = array_merge($hashtags, $this->hashtag->createFromUriId($shared_uri_id, $text));
$medias = array_merge($medias, $this->media->createFromUriId($shared_uri_id, $text)); $medias = array_merge($medias, $this->media->createFromUriId($shared_uri_id, $text));
$urls = array_merge($urls, $this->url->createFromUriId($shared_uri_id, $text)); $urls = array_merge($urls, $this->url->createFromUriId($shared_uri_id, $text));
$mentions = array_merge($mentions, $this->mention->createFromUriId($shared_uri_id, $text)); $mentions = array_merge($mentions, $this->mention->createFromUriId($shared_uri_id, $text));
} else { } else {
$attachments = array_merge($attachments, $this->attachment->createFromUriId($item['uri-id'], $text)); $attachments = array_merge($attachments, $this->attachment->createFromUriId($item['uri-id'], $text));
} }