mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Fix 2 PHPStan errors
This commit is contained in:
parent
767ac778c9
commit
bf530a00d7
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ class Status extends BaseFactory
|
|||
$urls = $this->url->createFromUriId($item['uri-id']);
|
||||
$mentions = $this->mention->createFromUriId($item['uri-id']);
|
||||
} else {
|
||||
$attachments = $this->attachment->createFromUriId($item['uri-id'], $text);
|
||||
$attachments = $this->attachment->createFromUriId($item['uri-id']);
|
||||
}
|
||||
|
||||
$friendica_activities = $this->activities->createFromUriId($item['uri-id'], $uid);
|
||||
|
@ -180,7 +180,7 @@ class Status extends BaseFactory
|
|||
$urls = array_merge($urls, $this->url->createFromUriId($shared_uri_id));
|
||||
$mentions = array_merge($mentions, $this->mention->createFromUriId($shared_uri_id));
|
||||
} else {
|
||||
$attachments = array_merge($attachments, $this->attachment->createFromUriId($shared_uri_id, $text));
|
||||
$attachments = array_merge($attachments, $this->attachment->createFromUriId($shared_uri_id));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue