Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
53 | public function toDatabase(User $notifiable): array |
||
54 | { |
||
55 | return [ |
||
56 | 'message' => "You have unlocked the badge <strong>{$this->badge->name}</strong> !", |
||
57 | 'icon' => $this->badge->icon, |
||
58 | 'color' => $this->badge->color, |
||
59 | 'type' => 'badge', |
||
60 | 'link' => $notifiable->show_url |
||
61 | ]; |
||
64 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.