Skip to content

Commit d136bad

Browse files
authored
Merge pull request #296 from dotkernel/issue-295
Issue #295: ContentNegotiationMiddleware: Make `$config` readonly
2 parents 8fd96aa + 6a44c48 commit d136bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App/src/Middleware/ContentNegotiationMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ContentNegotiationMiddleware implements MiddlewareInterface
3030
"config.content-negotiation",
3131
)]
3232
public function __construct(
33-
private array $config,
33+
private readonly array $config,
3434
) {
3535
}
3636

0 commit comments

Comments
 (0)