Showing 1,559 of 1,562 total issues
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return User::count();
Avoid too many return
statements within this method. Open
Open
return $request->all();
Avoid too many return
statements within this method. Open
Open
return $fail('Username is invalid. Username must be alpha-numeric and may contain dashes (-), periods (.) and underscores (_).');
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 $s;
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'],