| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class DonatorController extends Controller |
||
| 10 | { |
||
| 11 | public function index() |
||
| 12 | { |
||
| 13 | return factory(Donator::class, 10)->make(); |
||
| 14 | } |
||
| 15 | |||
| 16 | public function show(int $donatorId) |
||
|
|
|||
| 17 | { |
||
| 18 | return factory(Donator::class)->make(); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function delete(int $donatorId) |
||
| 24 | } |
||
| 25 | } |
||
| 26 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.