anonymous()
last analyzed

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 2
nc 1
nop 1
1
<?php
2
3
use Illuminate\Support\Facades\Route;
4
use Laravel\Nova\Http\Requests\NovaRequest;
5
6
Route::get('/', function (NovaRequest $request) {
0 ignored issues
show
Unused Code introduced by
The parameter $request is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

6
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.

Loading history...
7
    return inertia('NavigaAdPreview');
8
});
9