Skip to content

Commit

Permalink
Merge pull request #296 from dotkernel/issue-295
Browse files Browse the repository at this point in the history
Issue #295: ContentNegotiationMiddleware: Make `$config` readonly
  • Loading branch information
arhimede committed Jun 28, 2024
2 parents 8fd96aa + 6a44c48 commit d136bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/src/Middleware/ContentNegotiationMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ContentNegotiationMiddleware implements MiddlewareInterface
"config.content-negotiation",
)]
public function __construct(
private array $config,
private readonly array $config,
) {
}

Expand Down

0 comments on commit d136bad

Please sign in to comment.