Skip to content

Commit d507e92

Browse files
committed
Compatibility with PHP 7.2
1 parent e47771e commit d507e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Blog/Repository/UserRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
class UserRepository extends \Doctrine\ORM\EntityRepository
1313
{
14-
public function find($id): ?User
14+
public function find($id, $lockMode = null, $lockVersion = null): ?User
1515
{
1616
$id = (int) $id;
1717

0 commit comments

Comments
 (0)