| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 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 | * @param array $data |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function filterData(array $data): array |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | protected function getFilterFields() |
||
| 58 |