| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function toMail($notifiable) |
||
| 29 | { |
||
| 30 | return (new MailMessage) |
||
| 31 | ->line('A new file has been uploaded to the file link - '.$this->details->link_name) |
||
| 32 | ->action('Click to View Link', |
||
| 33 | url(route('links.details', |
||
| 34 | [ |
||
| 35 | 'id' => $this->details->link_id, |
||
| 36 | 'name' => urlencode($this->details->link_name) |
||
| 37 | ]))); |
||
| 38 | } |
||
| 39 | |||
| 54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.