| @@ -8,12 +8,11 @@ | ||
| 8 | 8 | { |
| 9 | 9 | add_filter('rocket_exclude_static_dynamic_resources', [$this, 'excludeScriptForWpRocket']); |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | - function excludeScriptForWpRocket(array $excluded_files) | |
| 12 | + public function excludeScriptForWpRocket(array $excluded_files): array | |
| 13 | 13 | { |
| 14 | 14 | $excluded_files[] = WP_PLUGIN_DIR.'/acymailing/back/Partial/forms/cookie.php'; |
| 15 | 15 | |
| 16 | 16 | return $excluded_files; |
| 17 | 17 | } |
| 18 | - | |
| 19 | 18 | } |