Skip to content

Commit

Permalink
Reproducing the current issue
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Nov 29, 2022
1 parent 4c18512 commit aa1fdd6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/Bundle/test/src/Repository/BookRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@

namespace App\Repository;

use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository;
use App\Entity\Book;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Sylius\Bundle\ResourceBundle\Doctrine\ORM\ResourceRepositoryTrait;

final class BookRepository extends EntityRepository implements BookRepositoryInterface
final class BookRepository extends ServiceEntityRepository implements BookRepositoryInterface
{
use ResourceRepositoryTrait;

public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Book::class);
}
}

0 comments on commit aa1fdd6

Please sign in to comment.