Showing 1,327 of 1,562 total issues
Avoid too many return
statements within this method. Open
Open
return $q->whereFromId($pid)->groupBy('to_id');
Avoid too many return
statements within this method. Open
Open
return ! in_array($post->profile_id, $filters);
Avoid too many return
statements within this method. Open
Open
return response()->json($res, 200, [], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
Avoid too many return
statements within this method. Open
Open
return $s && isset($s['account']) && in_array($s['account']['id'], $filtered) == false;
Avoid too many return
statements within this method. Open
Open
return $r->from_id !== $profile ? [
'id' => (string) $r->from_id,
'name' => $r->author->name,
'username' => $r->author->username,
'avatar' => $r->author->avatarUrl(),
Avoid too many return
statements within this method. Open
Open
return $status;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return FollowerService::follows($pid, $i['account']['id'], true);
Avoid too many return
statements within this method. Open
Open
return $this->error('Invalid object id', 400, ['error_code' => 'ERROR_INVALID_OBJECT_ID']);
Avoid too many return
statements within this method. Open
Open
return response()->json([
'success' => true,
]);
Avoid too many return
statements within this method. Open
Open
return ! FollowerService::follows($pid, $profile['id'], true);
Avoid too many return
statements within this method. Open
Open
return $res;
Avoid too many return
statements within this method. Open
Open
return [
'id' => 'pfs:'.$profile['id'],
'user' => [
'id' => (string) $profile['id'],
'username' => $profile['username'],
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $q->offset($page * 8 - 8);
Avoid too many return
statements within this method. Open
Open
return $i && isset($i['account'], $i['url']);
Avoid too many return
statements within this method. Open
Open
return $post;
Avoid too many return
statements within this method. Open
Open
return view('admin.curated-register.index', compact('records', 'filter'));
Avoid too many return
statements within this method. Open
Open
return response()->json($res, 200, [], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
Avoid too many return
statements within this method. Open
Open
return [
'code' => 200,
'msg' => 'Success',
'token' => $token,
];