From e2a5a2541634b6c38dc6a90b13e41d2a18d15e07 Mon Sep 17 00:00:00 2001 From: Shlee Date: Tue, 31 May 2022 14:38:04 +0930 Subject: [PATCH] Update StatusStatelessTransformer.php --- app/Transformer/Api/StatusStatelessTransformer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Transformer/Api/StatusStatelessTransformer.php b/app/Transformer/Api/StatusStatelessTransformer.php index 88196613e..74aaf7ce9 100644 --- a/app/Transformer/Api/StatusStatelessTransformer.php +++ b/app/Transformer/Api/StatusStatelessTransformer.php @@ -53,7 +53,7 @@ class StatusStatelessTransformer extends Fractal\TransformerAbstract 'mentions' => StatusMentionService::get($status->id), 'pf_type' => $status->type ?? $status->setType(), 'reply_count' => (int) $status->reply_count, - 'comments_disabled' => (bool)$status->comments_disabled, + 'comments_disabled' => (bool) $status->comments_disabled, 'thread' => false, 'replies' => [], 'parent' => [],