]> git.mxchange.org Git - friendica.git/commitdiff
Indentions
authorMichael <heluecht@pirati.ca>
Wed, 19 May 2021 22:20:56 +0000 (22:20 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 19 May 2021 22:20:56 +0000 (22:20 +0000)
src/Factory/Api/Mastodon/Status.php
src/Object/Api/Mastodon/Conversation.php

index f64dde29bba2735ec8f61001963ceba3737cff60..3df4e28e7bec80a9815a0b782637dffee6bfb977 100644 (file)
@@ -155,16 +155,16 @@ class Status extends BaseFactory
                $reshare     = [];
 
                $item = [
-                       'uri-id' => $mail['id'],
-                       'created' => $mail['created'],
-                       'thr-parent-id' => 0,
+                       'uri-id'           => $mail['id'],
+                       'created'          => $mail['created'],
+                       'thr-parent-id'    => 0,
                        'parent-author-id' => 0,
-                       'title' => $conv['subject'],
-                       'private' => Item::PRIVATE,
-                       'language' => '',
-                       'uri' => $mail['uri'],
-                       'plink' => '',
-                       'body' => BBCode::convert($mail['body'], false, BBCode::API)
+                       'title'            => $conv['subject'],
+                       'private'          => Item::PRIVATE,
+                       'language'         => '',
+                       'uri'              => $mail['uri'],
+                       'plink'            => '',
+                       'body'             => BBCode::convert($mail['body'], false, BBCode::API)
                ];
 
                return new \Friendica\Object\Api\Mastodon\Status($item, $account, $counts, $userAttributes, $sensitive, $application, $mentions, $tags, $card, $attachments, $reshare);
index 911b4ad8af580d9539df4bb210480c895164509a..0b0136044f2302145b91e94999b3d98fefc3d3f9 100644 (file)
@@ -46,9 +46,9 @@ class Conversation extends BaseDataTransferObject
 
        public function __construct(string $id, array $accounts, bool $unread, \Friendica\Object\Api\Mastodon\Status $last_status)
        {
-               $this->id = $id;
-               $this->accounts = $accounts;
-               $this->unread = $unread;
+               $this->id          = $id;
+               $this->accounts    = $accounts;
+               $this->unread      = $unread;
                $this->last_status = $last_status;
        }
 }