| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function toArray($notifiable) |
||
| 42 | { |
||
| 43 | return [ |
||
| 44 | 'type' => 'warning', |
||
| 45 | 'message' => 'New File(s) Uploaded to link - '.$this->details->link_name, |
||
| 46 | 'link' => url(route('links.details', |
||
| 47 | [ |
||
| 48 | 'id' => $this->details->link_id, |
||
| 49 | 'name' => urlencode($this->details->link_name) |
||
| 50 | ])) |
||
| 51 | ]; |
||
| 52 | } |
||
| 53 | } |
||
| 54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.