Total Complexity | 1 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
5 | class GatekeeperNoticeDefaults extends DefaultsAbstract |
||
6 | { |
||
7 | /** |
||
8 | * The values that should be sanitized. |
||
9 | * This is done after $casts and before $enums. |
||
10 | */ |
||
11 | public array $sanitize = [ |
||
12 | 'error' => 'text', |
||
13 | 'name' => 'text', |
||
14 | 'plugin_uri' => 'url', |
||
15 | 'textdomain' => 'slug', |
||
16 | ]; |
||
17 | |||
18 | protected function defaults(): array |
||
28 |