Browse Source

update method name

main
ghost 1 year ago
parent
commit
d97a678952
  1. 12
      src/Controller/TorrentController.php

12
src/Controller/TorrentController.php

@ -55,7 +55,7 @@ class TorrentController extends AbstractController
$contributors = []; $contributors = [];
$contributors[$torrent->getUserId()] = $userService->identicon( $contributors[$torrent->getUserId()] = $userService->identicon(
$userService->get( $userService->getUser(
$torrent->getUserId() $torrent->getUserId()
)->getAddress() )->getAddress()
); );
@ -63,7 +63,7 @@ class TorrentController extends AbstractController
if ($torrentLocales = $torrentService->findLastTorrentLocalesByTorrentId($torrent->getId())) if ($torrentLocales = $torrentService->findLastTorrentLocalesByTorrentId($torrent->getId()))
{ {
$contributors[$torrentLocales->getUserId()] = $userService->identicon( $contributors[$torrentLocales->getUserId()] = $userService->identicon(
$userService->get( $userService->getUser(
$torrentLocales->getUserId() $torrentLocales->getUserId()
)->getAddress() )->getAddress()
); );
@ -72,7 +72,7 @@ class TorrentController extends AbstractController
if ($torrentSensitive = $torrentService->findLastTorrentSensitiveByTorrentId($torrent->getId())) if ($torrentSensitive = $torrentService->findLastTorrentSensitiveByTorrentId($torrent->getId()))
{ {
$contributors[$torrentSensitive->getUserId()] = $userService->identicon( $contributors[$torrentSensitive->getUserId()] = $userService->identicon(
$userService->get( $userService->getUser(
$torrentSensitive->getUserId() $torrentSensitive->getUserId()
)->getAddress() )->getAddress()
); );
@ -89,7 +89,7 @@ class TorrentController extends AbstractController
[ [
'id' => $torrent->getUserId(), 'id' => $torrent->getUserId(),
'identicon' => $userService->identicon( 'identicon' => $userService->identicon(
$userService->get( $userService->getUser(
$torrent->getUserId() $torrent->getUserId()
)->getAddress() )->getAddress()
), ),
@ -409,7 +409,7 @@ class TorrentController extends AbstractController
[ [
'id' => $torrentLocalesEdition->getUserId(), 'id' => $torrentLocalesEdition->getUserId(),
'identicon' => $userService->identicon( 'identicon' => $userService->identicon(
$userService->get( $userService->getUser(
$torrentLocalesEdition->getUserId() $torrentLocalesEdition->getUserId()
)->getAddress() )->getAddress()
), ),
@ -717,7 +717,7 @@ class TorrentController extends AbstractController
[ [
'id' => $torrentSensitiveEdition->getUserId(), 'id' => $torrentSensitiveEdition->getUserId(),
'identicon' => $userService->identicon( 'identicon' => $userService->identicon(
$userService->get( $userService->getUser(
$torrentSensitiveEdition->getUserId() $torrentSensitiveEdition->getUserId()
)->getAddress() )->getAddress()
), ),

Loading…
Cancel
Save