| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php namespace JobApis\JobsToMail\Http\Controllers;  | 
            ||
| 17 | public function single(Request $request, $id)  | 
            ||
| 18 |     { | 
            ||
| 19 | $notification = $this->dispatchNow(new GetNotificationById($id));  | 
            ||
| 20 | |||
| 21 |         if ($notification) { | 
            ||
| 22 |             return view('notifications.single', ['notification' => $notification]); | 
            ||
| 23 | }  | 
            ||
| 24 | |||
| 25 |         $request->session()->flash('alert-danger', 'This job alert has expired.'); | 
            ||
| 26 | |||
| 27 |         return redirect('/'); | 
            ||
| 28 | }  | 
            ||
| 29 | |||
| 40 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.