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
nc 1
nop 1
dl 0
loc 2
1
<?php
2
3
use Illuminate\Support\Facades\Route;
4
use Laravel\Nova\Http\Requests\NovaRequest;
5
6
/*
7
|--------------------------------------------------------------------------
8
| Tool Routes
9
|--------------------------------------------------------------------------
10
|
11
| Here is where you may register Inertia routes for your tool. These are
12
| loaded by the ServiceProvider of the tool. The routes are protected
13
| by your tool's "Authorize" middleware by default. Now - go build!
14
|
15
*/
16
17
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

17
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...
18
    return inertia('FileManager');
19
});
20