| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class FightersGroupPolicy |
||
| 10 | { |
||
| 11 | // use HandlesAuthorization; |
||
| 12 | |||
| 13 | public function before(User $user, $ability) |
||
| 19 | } |
||
| 20 | |||
| 21 | |||
| 22 | // You can store a user if you are not a simple user |
||
| 23 | public function store(User $user, Tournament $tournament) |
||
| 26 | } |
||
| 27 | |||
| 28 | |||
| 29 | public function destroy(User $user, FightersGroup $tree) |
||
| 39 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.