From 5d3d4059e2e53927ab26e03f6e7c7c1243b4a20b Mon Sep 17 00:00:00 2001 From: Wolfgang Hochleitner Date: Tue, 30 May 2023 00:20:05 +0200 Subject: [PATCH] Fix deprecated string interpolation syntax Switch to a non-deprecated string interpolation syntax for PHP 8.2. --- src/Application/Actions/User/ViewUserAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application/Actions/User/ViewUserAction.php b/src/Application/Actions/User/ViewUserAction.php index 711cf0aa..e18e9fcd 100644 --- a/src/Application/Actions/User/ViewUserAction.php +++ b/src/Application/Actions/User/ViewUserAction.php @@ -16,7 +16,7 @@ protected function action(): Response $userId = (int) $this->resolveArg('id'); $user = $this->userRepository->findUserOfId($userId); - $this->logger->info("User of id `${userId}` was viewed."); + $this->logger->info("User of id `{$userId}` was viewed."); return $this->respondWithData($user); }