Browse Source

Update StatusStatelessTransformer.php

Shlee 3 năm trước cách đây
mục cha
commit
e2a5a25416
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Transformer/Api/StatusStatelessTransformer.php

+ 1 - 1
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'                    => [],