Skip to content

Commit 5925c3d

Browse files
committed
Replace readonly keyword on classes with readonly properties for BC promise
1 parent 0356630 commit 5925c3d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Controller/McpController.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
use Symfony\Component\HttpFoundation\Request;
2222
use Symfony\Component\HttpFoundation\Response;
2323

24-
final readonly class McpController
24+
final class McpController
2525
{
2626
public function __construct(
27-
private Server $server,
28-
private HttpMessageFactoryInterface $httpMessageFactory,
29-
private HttpFoundationFactoryInterface $httpFoundationFactory,
30-
private ResponseFactoryInterface $responseFactory,
31-
private StreamFactoryInterface $streamFactory,
32-
private ?LoggerInterface $logger = null,
27+
private readonly Server $server,
28+
private readonly HttpMessageFactoryInterface $httpMessageFactory,
29+
private readonly HttpFoundationFactoryInterface $httpFoundationFactory,
30+
private readonly ResponseFactoryInterface $responseFactory,
31+
private readonly StreamFactoryInterface $streamFactory,
32+
private readonly ?LoggerInterface $logger = null,
3333
) {
3434
}
3535

0 commit comments

Comments
 (0)