Skip to content
Snippets Groups Projects
Commit dd900909 authored by Geoff Appleby's avatar Geoff Appleby
Browse files

phpstan fix

parent d54115e5
No related branches found
No related tags found
No related merge requests found
Pipeline #307856 passed
......@@ -92,7 +92,7 @@ function csp_update_20001(): ?TranslatableMarkup {
/**
* Update require-trusted-types-for config.
*/
function csp_update_20201(): ?TranslatableMarkup {
function csp_update_20201(): void {
$config = \Drupal::configFactory()->getEditable('csp.settings');
foreach (['enforce', 'report-only'] as $policyType) {
......@@ -101,6 +101,4 @@ function csp_update_20201(): ?TranslatableMarkup {
$config->save(TRUE);
}
}
return NULL;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment