Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
30 | public function sitemapAction(Request $request) |
||
|
|||
31 | { |
||
32 | $urls = $this->get('zicht_url.sitemap_provider')->all($this->get('security.authorization_checker')); |
||
33 | |||
34 | return new Response( |
||
35 | $this->renderView('ZichtUrlBundle:Sitemap:sitemap.xml.twig', array('urls' => $urls)), |
||
36 | 200, |
||
37 | array( |
||
38 | 'content-type' => 'text/xml' |
||
39 | ) |
||
43 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.