| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 40 | public function validInternalServerErrorJsonResponse($message = 'Error') | ||
|  | |||
| 41 |     { | ||
| 42 | return response()->json( | ||
| 43 | [ | ||
| 44 | 'exception' => class_basename($this), | ||
| 45 | 'file' => basename($this->getFile()), | ||
| 46 | 'line' => $this->getLine(), | ||
| 47 | 'message' => $this->getMessage(), | ||
| 48 | 'trace' => $this->getTrace(), | ||
| 49 | ], 500, [], JSON_PRETTY_PRINT | ||
| 50 | ); | ||
| 53 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.