update method names

This commit is contained in:
ghost 2023-10-09 02:03:05 +03:00
parent 6752b7b93e
commit 2f06c2a7e5
3 changed files with 13 additions and 13 deletions

View file

@ -31,7 +31,7 @@ class TorrentLocalesRepository extends ServiceEntityRepository
;
}
public function findLastTorrentLocales(int $torrentId): ?TorrentLocales
public function findLastTorrentLocalesByTorrentId(int $torrentId): ?TorrentLocales
{
return $this->createQueryBuilder('tl')
->where('tl.torrentId = :torrentId')
@ -43,7 +43,7 @@ class TorrentLocalesRepository extends ServiceEntityRepository
;
}
public function findTorrentLocales(int $torrentId): array
public function findTorrentLocalesByTorrentId(int $torrentId): array
{
return $this->createQueryBuilder('tl')
->where('tl.torrentId = :torrentId')