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