Skip to content

Commit

Permalink
Check whether secrets are empty and mark them all as sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Nov 6, 2023
1 parent c85c15e commit 8279e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Webhook/PostmarkRequestParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function getRequestMatcher(): RequestMatcherInterface
]);
}

protected function doParse(Request $request, string $secret): ?AbstractMailerEvent
protected function doParse(Request $request, #[\SensitiveParameter] string $secret): ?AbstractMailerEvent
{
$payload = $request->toArray();
if (
Expand Down

0 comments on commit 8279e71

Please sign in to comment.