Skip to content

Commit 134ecca

Browse files
committed
EntityRepository stub - precise type for $_entityName property
1 parent 1d4ab0a commit 134ecca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stubs/EntityRepository.stub

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ use Doctrine\Persistence\ObjectRepository;
1212
class EntityRepository implements ObjectRepository
1313
{
1414

15+
/** @var class-string<TEntityClass> */
16+
protected $_entityName;
17+
1518
/**
1619
* @phpstan-param mixed $id
1720
* @phpstan-param int|null $lockMode

0 commit comments

Comments
 (0)