Skip to content

Commit adca370

Browse files
committed
add readonly to properties
1 parent ac4b6c2 commit adca370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RequestHandler/PingRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
final class PingRequestHandler implements RequestHandlerInterface
1313
{
14-
public function __construct(private ResponseFactoryInterface $responseFactory) {}
14+
public function __construct(private readonly ResponseFactoryInterface $responseFactory) {}
1515

1616
public function handle(ServerRequestInterface $request): ResponseInterface
1717
{

0 commit comments

Comments
 (0)