for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\JobPoster;
use Illuminate\Support\Facades\Lang;
use Illuminate\View\View;
class ScreeningPlanController extends Controller
{
/**
* Show the form for creating a new resource.
*
* @param JobPoster $job The job to create a screen plan for.
* @return View
*/
public function createForJob(JobPoster $job): View
$job
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function createForJob(/** @scrutinizer ignore-unused */ JobPoster $job): View
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return view(
'manager/screening-plan',
[
'screening' => Lang::get('manager/screening-plan')
]
);
}