Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class MailLogPolicy |
||
9 | { |
||
10 | use HandlesAuthorization; |
||
11 | |||
12 | /** |
||
13 | * Create a new policy instance. |
||
14 | * |
||
15 | * @return void |
||
16 | */ |
||
17 | public function __construct() |
||
18 | { |
||
19 | // |
||
20 | } |
||
21 | |||
22 | public function create($user = null, MailLog $formSubmission = null) |
||
23 | { |
||
24 | return false; |
||
25 | } |
||
26 | |||
27 | public function delete() |
||
28 | { |
||
29 | return true; |
||
30 | } |
||
31 | |||
32 | public function view() |
||
35 | } |
||
36 | } |
||
37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.