Fix function comment for setting content-security-policies

This commit is contained in:
Joshua Ramon Enslin 2022-03-29 17:51:21 +02:00
parent 6a7b8bd8fd
commit 7c02bbb8ad
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -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
*/