Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function toSlack($notifiable) |
||
37 | { |
||
38 | return (new SlackMessage) |
||
39 | ->success() |
||
40 | ->content("The certificate check for {$this->event->monitor->url} succeeded.") |
||
41 | ->attachment(function (SlackAttachment $attachment) { |
||
42 | $attachment->fields($this->getMonitorProperties()); |
||
43 | }); |
||
44 | } |
||
45 | |||
53 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.