|
@@ -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' => $status->comments_disabled ? true : false,
|
|
|
+ 'comments_disabled' => (bool) $status->comments_disabled,
|
|
|
'thread' => false,
|
|
|
'replies' => [],
|
|
|
'parent' => [],
|