| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class CategoryController extends Controller |
||
| 8 | { |
||
| 9 | |||
| 10 | public function __construct() |
||
| 11 | { |
||
| 12 | parent::__construct(); |
||
| 13 | |||
| 14 | $this->breadcrumbs->removeListElementClasses('breadcrumb'); |
||
| 15 | $this->breadcrumbs->addCrumb('Blog', route('blog.article.index')); |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Show the article by his id. |
||
| 20 | * |
||
| 21 | * @return \Illuminate\Http\RedirectResponse|\Illuminate\View\View |
||
| 22 | */ |
||
| 23 | public function show(Request $request, $slug, $id) |
||
| 42 | ); |
||
| 43 | } |
||
| 45 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.