Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function toMail($notifiable) |
||
|
|||
23 | { |
||
24 | $mailMessage = (new MailMessage) |
||
25 | ->error() |
||
26 | ->subject($this->getMessageText()) |
||
27 | ->line($this->getMessageText()); |
||
28 | |||
29 | foreach($this->getMonitorProperties() as $name => $value) { |
||
30 | $mailMessage->line($name . ': ' . $value); |
||
31 | } |
||
32 | |||
33 | return $mailMessage; |
||
34 | } |
||
35 | |||
58 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.