Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions stubs/EntityManager.stub
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,9 @@ class EntityManager implements EntityManagerInterface
*/
public function flush($entity = null);

/**
* @return bool
* @phpstan-impure
*/
public function isOpen();
}
5 changes: 5 additions & 0 deletions stubs/EntityManagerDecorator.stub
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,9 @@ class EntityManagerDecorator implements EntityManagerInterface
*/
public function copy($entity, $deep = false);

/**
* @return bool
* @phpstan-impure
*/
public function isOpen();
}
5 changes: 5 additions & 0 deletions stubs/EntityManagerInterface.stub
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,9 @@ interface EntityManagerInterface extends ObjectManager
*/
public function wrapInTransaction(callable $func);

/**
* @return bool
* @phpstan-impure
*/
public function isOpen();
}
Loading