From e89d0f2599396689cfdc472da7f90a45c129d642 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 31 Jul 2021 06:22:08 +0000 Subject: [PATCH] Style --- src/Factory/Api/Mastodon/ScheduledStatus.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Factory/Api/Mastodon/ScheduledStatus.php b/src/Factory/Api/Mastodon/ScheduledStatus.php index 608d615ca..80dcdfc59 100644 --- a/src/Factory/Api/Mastodon/ScheduledStatus.php +++ b/src/Factory/Api/Mastodon/ScheduledStatus.php @@ -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); }