| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function toSlack($notifiable) |
||
| 33 | { |
||
| 34 | return (new SlackMessage) |
||
| 35 | ->error() |
||
| 36 | ->content("The certificate for {$this->event->site->url} will expire in {$this->ssl_certificate_expiration_date->diffInDays()}") |
||
| 37 | ->attachment(function (SlackAttachment $attachment) { |
||
| 38 | $attachment->fields($this->getSiteProperties()); |
||
| 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.