From fda480b9e6051a627db3a4f68a74386e1e604a5b Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Wed, 30 Oct 2024 15:52:21 +0100 Subject: [PATCH] Tiny corrections to make the linter happy --- program/include/rcmail_output_html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index 896a9e463a8..1de462b33f8 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -2735,7 +2735,7 @@ protected function add_csp_header(): void $csp_parts[] = $csp_allow_remote; } } - $this->header("Content-Security-Policy: " . join('; ', $csp_parts)); + $this->header('Content-Security-Policy: ' . implode('; ', $csp_parts)); } } @@ -2745,6 +2745,7 @@ protected function add_csp_header(): void * default second argument to trim(), too). * * @param $name string The key of the wanted config value + * * @return string|false */ protected function get_csp_value($name)