for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Support\Facades\Route;
use Laravel\Nova\Http\Requests\NovaRequest;
/*
|--------------------------------------------------------------------------
| Tool Routes
|
| Here is where you may register Inertia routes for your tool. These are
| loaded by the ServiceProvider of the tool. The routes are protected
| by your tool's "Authorize" middleware by default. Now - go build!
*/
Route::get('/', function (NovaRequest $request) {
$request
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
Route::get('/', function (/** @scrutinizer ignore-unused */ NovaRequest $request) {
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return inertia('FileManager');
});
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.