Skip to content

Commit 5e195e5

Browse files
committed
Changed parameter type definition to match with Doctrine
1 parent 0799aa2 commit 5e195e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repository/Traits/RepositoryMethodsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
trait RepositoryMethodsTrait
2828
{
29-
public function find(string $id, LockMode|int|null $lockMode = null, ?int $lockVersion = null): ?EntityInterface
29+
public function find(string $id, LockMode|int|null $lockMode = null, int|null $lockVersion = null): ?EntityInterface
3030
{
3131
$output = $this->getEntityManager()->find($this->getEntityName(), $id, $lockMode, $lockVersion);
3232

0 commit comments

Comments
 (0)