Skip to content

Commit

Permalink
Fix new EntityManager#refresh in Doctrine ORM 2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
michnovka committed Dec 20, 2022
1 parent 6e388e1 commit dbdc2e4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions stubs/EntityManager.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,14 @@ class EntityManager implements EntityManagerInterface
public function getReference($entityName, $id)
{
}

/**
* @param object $entity
* @param null|int $lockMode
*
* @return void
*/
public function refresh($entity, $lockMode = null)
{
}
}

0 comments on commit dbdc2e4

Please sign in to comment.