Skip to content

Commit 4f460bb

Browse files
authored
Merge pull request #12 from maltehuebner/fix-nullables
There must be nullable
2 parents 6c467b4 + 4d36326 commit 4f460bb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Finder/Finder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Finder implements FinderInterface
1414
{
1515
public function __construct(
1616
private readonly string $fqcn,
17-
private readonly Repository $repository,
18-
private readonly EntityManagerInterface $entityManager
17+
private readonly ?Repository $repository = null,
18+
private readonly ?EntityManagerInterface $entityManager = null
1919
) {
2020

2121
}

0 commit comments

Comments
 (0)