Skip to content

Commit 3a14763

Browse files
committed
Fix docblock param order in DirectiveSetTest and remove extra space in CrossOriginPolicyListener
1 parent 7ecf346 commit 3a14763

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/EventListener/CrossOriginPolicyListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ public function onKernelResponse(ResponseEvent $e): void
4141

4242
$response->headers->set('Cross-Origin-Embedder-Policy', $this->coep);
4343
$response->headers->set('Cross-Origin-Opener-Policy', $this->coop);
44-
$response->headers->set('Cross-Origin-Resource-Policy', $this->corp);
44+
$response->headers->set('Cross-Origin-Resource-Policy', $this->corp);
4545
}
4646
}

tests/ContentSecurityPolicy/DirectiveSetTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,12 +368,12 @@ public function provideVariousConfig(): array
368368
/**
369369
* @dataProvider provideConfigAndSignatures
370370
*
371+
* @param array<string, list<string>> $signatures
372+
*
371373
* @phpstan-param array<string, array{
372374
* enforce?: array<string, mixed>,
373375
* report?: array<string, mixed>,
374376
* }> $config
375-
*
376-
* @param array<string, list<string>> $signatures
377377
*/
378378
public function testBuildHeaderValueWithInlineSignatures(string $expected, array $config, array $signatures): void
379379
{

0 commit comments

Comments
 (0)