Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
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 for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.