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