We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8177b06 commit 0c6ca59Copy full SHA for 0c6ca59
stubs/DocumentManager.stub
@@ -26,7 +26,7 @@ class DocumentManager implements ObjectManager
26
public function merge($document);
27
28
/**
29
- * @template T
+ * @template T of object
30
* @phpstan-param class-string<T> $documentName
31
* @phpstan-return DocumentRepository<T>
32
*/
stubs/DocumentRepository.stub
@@ -5,7 +5,7 @@ namespace Doctrine\ODM\MongoDB\Repository;
5
use Doctrine\Persistence\ObjectRepository;
6
7
8
- * @template TDocumentClass
+ * @template TDocumentClass of object
9
* @implements ObjectRepository<TDocumentClass>
10
11
class DocumentRepository implements ObjectRepository
0 commit comments