| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | public function toSlack($notifiable) |
||
| 45 | { |
||
| 46 | return (new SlackMessage) |
||
| 47 | ->from(setting('title', config('adminetic.title', 'Adminetic')) . ' - ' . $this->announcement->user->name ?? 'N/A') |
||
| 48 | ->image(getLogo()) |
||
| 49 | ->content((new HtmlConverter())->convert($this->announcement->body)); |
||
| 50 | } |
||
| 52 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.