for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use App\Models\Lookup\Department;
use Illuminate\Support\Facades\Lang;
class FaqController extends Controller
{
/**
* Show the FAQ page.
*
* @return View
*/
public function __invoke()
return view(
view
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return /** @scrutinizer ignore-call */ view(
'applicant/static_faq',
[
'faq' => Lang::get('applicant/faq'),
'breadcrumb_home' => route('home'),
route
'breadcrumb_home' => /** @scrutinizer ignore-call */ route('home'),
'applicant_sidebar_active' => 'active',
'partner_departments' => Department::where('is_partner', true)
->orderBy('lft', 'asc')
->select('name', 'is_host')
->get(),
]
);
}