mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Changes:
- renamed ItemArrayFromMail() to getItemArrayFromMail() to follow naming-convetion - added missing type-hints - added missing documentation
This commit is contained in:
parent
ea22e88896
commit
fbae0b8bcf
5 changed files with 118 additions and 127 deletions
|
@ -190,7 +190,7 @@ class Status extends BaseFactory
|
|||
*/
|
||||
public function createFromMailId(int $id): \Friendica\Object\Api\Mastodon\Status
|
||||
{
|
||||
$item = ActivityPub\Transmitter::ItemArrayFromMail($id, true);
|
||||
$item = ActivityPub\Transmitter::getItemArrayFromMail($id, true);
|
||||
if (empty($item)) {
|
||||
$this->mstdnErrorFactory->RecordNotFound();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue