We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c055675 commit 4ecee33Copy full SHA for 4ecee33
src/SecureHeaders.php
@@ -317,7 +317,7 @@ public static function nonce(string $target = 'script'): string
317
*
318
* @return void
319
*/
320
- public static function removeNonce(string $target = null, string $nonce = null)
+ public static function removeNonce(?string $target = null, ?string $nonce = null)
321
{
322
if ($target === null) {
323
self::$nonces['script'] = self::$nonces['style'] = [];
0 commit comments