From 7c02bbb8ad085071ba5ab18a016610a6ec25a9d4 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Tue, 29 Mar 2022 17:51:21 +0200 Subject: [PATCH] Fix function comment for setting content-security-policies --- src/MD_STD_SEC.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MD_STD_SEC.php b/src/MD_STD_SEC.php index 764f058..c23bd5c 100644 --- a/src/MD_STD_SEC.php +++ b/src/MD_STD_SEC.php @@ -134,8 +134,8 @@ final class MD_STD_SEC { /** * Send CSP headers. * - * @param array{default-src: string, connect-src: string, script-src: string, img-src: string, media-src: string, style-src: string, frame-src: string, object-src: string, base-uri: string, form-action: string, frame-ancestors?: string} $directives Directives to send. Font source is always set to 'self', and hence excluded. - * @param string $frame_ancestors Frame ancestors directive. Default is to not set it. + * @param array{default-src: string, connect-src: string, script-src: string, img-src: string, media-src: string, style-src: string, frame-src: string, object-src: string, base-uri: string, form-action: string, worker-src?: string, frame-ancestors?: string} $directives Directives to send. Font source is always set to 'self', and hence excluded. + * @param string $frame_ancestors Frame ancestors directive. Default is to not set it. * * @return void */