You've already forked phpmyadmin
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:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user