Total Complexity | 4 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
18 | class CustomerSecureFieldFilterPlugin extends AbstractPlugin implements MinuboDataFilterInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | protected $defaultFilterFields = [ |
||
24 | 'password', |
||
25 | 'restore_password_date', |
||
26 | 'restore_password_key', |
||
27 | 'registration_key', |
||
28 | ]; |
||
29 | |||
30 | /** |
||
31 | * {@inheritDoc} |
||
32 | * |
||
33 | * @api |
||
34 | * |
||
35 | * @param array $data |
||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | public function filterData(array $data): array |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * @return array |
||
53 | */ |
||
54 | protected function getFilterFields() |
||
62 |