Skip to content

Commit

Permalink
Removed paginatorinterface from versionRepo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppekroghitk committed Jan 2, 2025
1 parent da28ea3 commit ac46d3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Repository/VersionRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use App\Entity\Version;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Knp\Component\Pager\PaginatorInterface;

/**
* @extends ServiceEntityRepository<Version>
Expand All @@ -17,7 +16,7 @@
*/
class VersionRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry, private readonly PaginatorInterface $paginator)
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Version::class);
}
Expand Down

0 comments on commit ac46d3c

Please sign in to comment.