Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CategoryController extends Controller |
||
8 | { |
||
9 | /** |
||
10 | * Show the category by his id and all the related items. |
||
11 | * |
||
12 | * @param string $slug The slug of the category. |
||
13 | * @param int $id The id of the category. |
||
14 | * |
||
15 | * @return \Illuminate\Http\RedirectResponse|\Illuminate\View\View |
||
16 | */ |
||
17 | public function show(Request $request, string $slug, int $id) |
||
39 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.