소스 검색

Update StatusTransformer.php

Shlee 3 년 전
부모
커밋
4a1eb82f63
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Transformer/Api/StatusTransformer.php

+ 1 - 1
app/Transformer/Api/StatusTransformer.php

@@ -56,7 +56,7 @@ class StatusTransformer 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'                    => [],