Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function toSlack($notifiable) |
||
32 | { |
||
33 | return (new SlackMessage) |
||
34 | ->attachment(function (SlackAttachment $attachment) { |
||
35 | $attachment |
||
36 | ->title($this->getSubject()) |
||
37 | ->content($this->getMessageText()) |
||
38 | ->fallback($this->getMessageText()) |
||
39 | ->timestamp(Carbon::now()); |
||
40 | }); |
||
41 | } |
||
42 | |||
55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.