| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 40 | public function delete(SeatMap $seatMap) | ||
| 41 |     { | ||
| 42 |         Log::info('Deleting seatmap#' . $seatMap->id . ' (' . $seatMap->name . ')'); | ||
| 43 | |||
| 44 | $seatMap->delete(); | ||
| 45 | |||
| 46 | // On successfull deletion redirect the browser to the overview | ||
| 47 | return redirect() | ||
| 48 |             ->route('admin.dependencies.dashboard') | ||
| 49 |             ->with('status', 'Deleted seatmap successfull!'); | ||
| 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.