Skip to content

Commit

Permalink
Simplify StubFilesExtensionLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Aug 5, 2024
1 parent caa046b commit 285d78d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ parameters:
- stubs/EntityManager.stub
- stubs/EntityManagerDecorator.stub
- stubs/EntityManagerInterface.stub
- stubs/EntityRepository.stub
- stubs/MongoClassMetadataInfo.stub

- stubs/Persistence/ManagerRegistry.stub
Expand Down Expand Up @@ -61,6 +62,7 @@ parameters:
- stubs/ORM/UnexpectedResultException.stub
- stubs/ORM/Query/Expr.stub
- stubs/ORM/Query.stub
- stubs/ORM/QueryBuilder.stub
- stubs/ORM/Query/Expr/Comparison.stub
- stubs/ORM/Query/Expr/Composite.stub
- stubs/ORM/Query/Expr/Func.stub
Expand Down
3 changes: 0 additions & 3 deletions src/Stubs/Doctrine/StubFilesExtensionLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public function getFiles(): array
$files[] = $stubsDir . '/DBAL/Connection.stub';
}

$files[] = $stubsDir . '/ORM/QueryBuilder.stub';
$files[] = $stubsDir . '/EntityRepository.stub';

$hasLazyServiceEntityRepositoryAsParent = false;

try {
Expand Down

0 comments on commit 285d78d

Please sign in to comment.