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 TorrentSensitiveRepository extends ServiceEntityRepository
;
}
public function findLastTorrentSensitive(int $torrentId): ?TorrentSensitive
public function findLastTorrentSensitiveByTorrentId(int $torrentId): ?TorrentSensitive
{
return $this->createQueryBuilder('ts')
->where('ts.torrentId = :torrentId')
@ -43,7 +43,7 @@ class TorrentSensitiveRepository extends ServiceEntityRepository
;
}
public function findTorrentSensitive(int $torrentId): array
public function findTorrentSensitiveByTorrentId(int $torrentId): array
{
return $this->createQueryBuilder('ts')
->where('ts.torrentId = :torrentId')