Ver Fonte

Update StatusTransformer.php

Shlee há 3 anos atrás
pai
commit
4a1eb82f63
1 ficheiros alterados com 1 adições e 1 exclusões
  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),
 			'mentions'                  => StatusMentionService::get($status->id),
 			'pf_type'                   => $status->type ?? $status->setType(),
 			'pf_type'                   => $status->type ?? $status->setType(),
 			'reply_count'               => (int) $status->reply_count,
 			'reply_count'               => (int) $status->reply_count,
-			'comments_disabled'         => (bool)$status->comments_disabled,
+			'comments_disabled'         => (bool) $status->comments_disabled,
 			'thread'                    => false,
 			'thread'                    => false,
 			'replies'                   => [],
 			'replies'                   => [],
 			'parent'                    => [],
 			'parent'                    => [],