]> git.mxchange.org Git - friendica.git/commitdiff
Style
authorMichael <heluecht@pirati.ca>
Sat, 31 Jul 2021 06:22:08 +0000 (06:22 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 31 Jul 2021 06:22:08 +0000 (06:22 +0000)
src/Factory/Api/Mastodon/ScheduledStatus.php

index 608d615ca10e505b7685b9dc40022ef9d3c52234..80dcdfc5958abb3033639b1d7da957f1ce5adbff 100644 (file)
@@ -60,11 +60,12 @@ class ScheduledStatus extends BaseFactory
                        throw new HTTPException\NotFoundException('Scheduled status with ID ' . $id . ' not found for user ' . $uid . '.');
                }
 
-               $media_ids = [];
+               $media_ids         = [];
                $media_attachments = [];
                foreach ($parameters['attachments'] as $attachment) {
                        $id = Photo::getIdForName($attachment['url']);
-                       $media_ids[] = (string)$id;
+
+                       $media_ids[]         = (string)$id;
                        $media_attachments[] = DI::mstdnAttachment()->createFromPhoto($id);
                }