1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-23 18:29:15 +03:00

Make controllers readonly

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela
2026-03-08 13:52:05 +00:00
parent a024371295
commit 6302c979a9
121 changed files with 422 additions and 422 deletions

View File

@@ -24,9 +24,9 @@ use const JSON_THROW_ON_ERROR;
* Exporting of translated messages from PHP to JavaScript.
*/
#[Route('/messages', ['GET'])]
final class JavaScriptMessagesController implements InvocableController
final readonly class JavaScriptMessagesController implements InvocableController
{
public function __construct(private readonly ResponseFactory $responseFactory)
public function __construct(private ResponseFactory $responseFactory)
{
}