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