app/Http/Resources/StatusStateless.php
Method toArray
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function toArray($request)
{
$status = $this;
$taggedPeople = MediaTagService::get($status->id);
$poll = $status->type === 'poll' ? PollService::get($status->id) : null;