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 | ->success() |
||
26 | ->subject("The certificate check for {$this->event->monitor->url} succeeded.") |
||
27 | ->line("The certificate check for {$this->event->monitor->url} succeeded."); |
||
28 | |||
29 | foreach ($this->getMonitorProperties() as $name => $value) { |
||
30 | $mailMessage->line($name.': '.$value); |
||
31 | } |
||
32 | |||
33 | return $mailMessage; |
||
34 | } |
||
35 | |||
53 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.