Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | Route::namespace('CSlant\LaraGenAdv\Http\Controllers')->group(function () { |
||
11 | $configRepository = resolve(ConfigHelper::class); |
||
12 | $generatorConfig = $configRepository->generatorConfig(); |
||
13 | |||
14 | Route::prefix($generatorConfig['routes']['tool'])->group(function (Router $router) { |
||
|
|||
15 | Route::get('/', [LaravelGeneratorAdvancedController::class, 'index'])->name('lara_gen_adv.index'); |
||
16 | |||
17 | Route::get('asset/{asset}', [AssetController::class, 'index']) |
||
18 | ->name('lara_gen_adv.asset') |
||
19 | ->where('asset', '.*'); |
||
20 | |||
21 | Route::get('repository', [RepositoryGeneratorController::class, 'index']) |
||
22 | ->name('lara_gen_adv.repository.index'); |
||
23 | }); |
||
25 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.