Total Complexity | 1 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
17 | class StaticReferenceController extends Controller |
||
18 | { |
||
19 | /** |
||
20 | * Redirects to the url provided by the main url provider service. |
||
21 | * |
||
22 | * @param Request $request |
||
23 | * @param string $name |
||
24 | * @param int $code |
||
25 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
||
26 | * |
||
27 | * @Route("/_static-ref/{name}") |
||
28 | */ |
||
29 | public function redirectAction(Request $request, $name, $code = 301) |
||
37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.