| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 35 |     public function logoutUserAction(Request $request, $service) { | 
            ||
| 36 | /*  | 
            ||
| 37 | * security.yml logut can't accept different domain (IDP) in new symfony so it points here  | 
            ||
| 38 | */  | 
            ||
| 39 |         $this->get('security.token_storage')->setToken(null); | 
            ||
| 40 | $request->getSession()->invalidate();  | 
            ||
| 41 | |||
| 42 |         return new RedirectResponse($this->getParameter('idp_url') . '/sso/logout?service=' . $service); | 
            ||
| 43 | |||
| 44 | }  | 
            ||
| 45 | |||
| 47 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.