| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 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.