app/Http/Controllers/Api/InstanceApiController.php
Method getData
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getData()
{
$contact = Cache::remember('api:v1:instance:contact', now()->addMinutes(1440), function() {
$admin = User::whereIsAdmin(true)->first()->profile;
return [