Skip to content

Commit

Permalink
Issue #295: ContentNegotiationMiddleware: Make config readonly
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Karajos <[email protected]>
  • Loading branch information
alexmerlin authored Jun 28, 2024
1 parent 8fd96aa commit 6a44c48
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 6a44c48

Please sign in to comment.