mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
change method name
This commit is contained in:
parent
2f06c2a7e5
commit
d2f7fff24e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue