From d97a6789522a62ac336c9f70ce9c01c796c551eb Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 9 Oct 2023 15:59:06 +0300 Subject: [PATCH] update method name --- src/Controller/TorrentController.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Controller/TorrentController.php b/src/Controller/TorrentController.php index 3d05c75..282b8b2 100644 --- a/src/Controller/TorrentController.php +++ b/src/Controller/TorrentController.php @@ -55,7 +55,7 @@ class TorrentController extends AbstractController $contributors = []; $contributors[$torrent->getUserId()] = $userService->identicon( - $userService->get( + $userService->getUser( $torrent->getUserId() )->getAddress() ); @@ -63,7 +63,7 @@ class TorrentController extends AbstractController if ($torrentLocales = $torrentService->findLastTorrentLocalesByTorrentId($torrent->getId())) { $contributors[$torrentLocales->getUserId()] = $userService->identicon( - $userService->get( + $userService->getUser( $torrentLocales->getUserId() )->getAddress() ); @@ -72,7 +72,7 @@ class TorrentController extends AbstractController if ($torrentSensitive = $torrentService->findLastTorrentSensitiveByTorrentId($torrent->getId())) { $contributors[$torrentSensitive->getUserId()] = $userService->identicon( - $userService->get( + $userService->getUser( $torrentSensitive->getUserId() )->getAddress() ); @@ -89,7 +89,7 @@ class TorrentController extends AbstractController [ 'id' => $torrent->getUserId(), 'identicon' => $userService->identicon( - $userService->get( + $userService->getUser( $torrent->getUserId() )->getAddress() ), @@ -409,7 +409,7 @@ class TorrentController extends AbstractController [ 'id' => $torrentLocalesEdition->getUserId(), 'identicon' => $userService->identicon( - $userService->get( + $userService->getUser( $torrentLocalesEdition->getUserId() )->getAddress() ), @@ -717,7 +717,7 @@ class TorrentController extends AbstractController [ 'id' => $torrentSensitiveEdition->getUserId(), 'identicon' => $userService->identicon( - $userService->get( + $userService->getUser( $torrentSensitiveEdition->getUserId() )->getAddress() ),