mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-10 23:17:53 +00:00
change method name
This commit is contained in:
parent
2f06c2a7e5
commit
d2f7fff24e
@ -21,7 +21,7 @@ class TorrentRepository extends ServiceEntityRepository
|
||||
parent::__construct($registry, Torrent::class);
|
||||
}
|
||||
|
||||
public function findOneByIdField(int $id): ?Torrent
|
||||
public function getTorrent(int $id): ?Torrent
|
||||
{
|
||||
return $this->createQueryBuilder('t')
|
||||
->where('t.id = :id')
|
||||
|
Loading…
Reference in New Issue
Block a user