mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-02 05:57:48 +09:00
Remove redundant typing from DocBlocks
This commit is contained in:
@@ -12,17 +12,11 @@ use Illuminate\Support\Facades\RateLimiter;
|
||||
|
||||
class HealthController extends Controller
|
||||
{
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
private static function getUsers(): int
|
||||
{
|
||||
return User::count();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
private static function getItems(): int
|
||||
{
|
||||
return Item::select('id')
|
||||
@@ -34,7 +28,6 @@ class HealthController extends Controller
|
||||
/**
|
||||
* Handle the incoming request.
|
||||
*
|
||||
* @param Request $request
|
||||
* @return JsonResponse|Response
|
||||
* @throws BindingResolutionException
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user