| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 12 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace WITR\Http\Controllers; |
||
| 18 | View Code Duplication | public function submit(Mailer $mailer, AskDestlerRequest $request) |
|
| 19 | { |
||
| 20 | $askdestlerRecipient = app('config')['witr.askdestler_recipient']; |
||
| 21 | $mailer->send('emails.askdestler', $request->all(), function($message) use ($askdestlerRecipient) |
||
| 22 | { |
||
| 23 | $message->to($askdestlerRecipient['email'], $askdestlerRecipient['name']) |
||
| 24 | ->subject('WITR Ask Destler Submission'); |
||
| 25 | }); |
||
| 26 | |||
| 27 | return redirect()->route('askdestler') |
||
| 28 | ->with('success', 'Question Submitted!'); |
||
| 29 | } |
||
| 30 | } |
||
| 31 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.