| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 18 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 33 | public function mutate(Handler $ajax): Handler  | 
            ||
| 34 |     { | 
            ||
| 35 |         if (false === $this->changeUrl) { | 
            ||
| 36 | return $ajax;  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | $ajax->changeUrl(  | 
            ||
| 40 | $this->router->generate(  | 
            ||
| 41 |                 $this->request->attributes->get('_route'), | 
            ||
| 42 | array_merge(  | 
            ||
| 43 |                     $this->request->attributes->get('_route_params'), | 
            ||
| 44 | $this->request->query->all(),  | 
            ||
| 45 | $this->getFragment()  | 
            ||
| 46 | )  | 
            ||
| 47 | )  | 
            ||
| 48 | );  | 
            ||
| 49 | |||
| 50 | return $ajax;  | 
            ||
| 51 | }  | 
            ||
| 65 |