Showing 1,329 of 1,562 total issues
Avoid too many return
statements within this method. Open
Open
return $account && isset($account['id']);
Avoid too many return
statements within this method. Open
Open
return $this->json($ids);
Avoid too many return
statements within this method. Open
Open
return $fail('Username cannot be used.');
Avoid too many return
statements within this method. Open
Open
return ! in_array($profile['id'], $filters);
Avoid too many return
statements within this method. Open
Open
return [
'code' => 200,
'msg' => 'Success',
'token' => $token,
];
Avoid too many return
statements within this method. Open
Open
return [
'id' => (string) $s->id,
'hidden' => (bool) $s->is_hidden,
'isAuthor' => $uid == $s->from_id,
'type' => $s->type,
Avoid too many return
statements within this method. Open
Open
return $q->where('item_type', 'App\Profile')->whereIn('item_id', $ids);
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 false;
Avoid too many return
statements within this method. Open
Open
return view('admin.asf.home', compact('filters'));
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 [
'id' => (string) $s->id,
'type' => $s->type,
'src' => url(Storage::url($s->path)),
'duration' => $s->duration,
Avoid too many return
statements within this method. Open
Open
return $status;
Avoid too many return
statements within this method. Open
Open
return $s;
Avoid too many return
statements within this method. Open
Open
return response()->json($w, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES);
Avoid too many return
statements within this method. Open
Open
return url(Storage::url('public/no-preview.png'));
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 [];
Avoid too many return
statements within this method. Open
Open
return $q->where('is_nsfw', false);
Avoid too many return
statements within this method. Open
Open
return response()->json($res);