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 873c32c commit 8f083bfCopy full SHA for 8f083bf
stubs/DocumentManager.stub
@@ -15,6 +15,7 @@ class DocumentManager implements ObjectManager
15
* @phpstan-param integer|null $lockMode
16
* @phpstan-param integer|null $lockVersion
17
* @phpstan-return T|null
18
+ * @phpstan-impure
19
*/
20
public function find($documentName, $identifier, $lockMode = null, $lockVersion = null);
21
stubs/DocumentRepository.stub
@@ -16,11 +16,13 @@ class DocumentRepository implements ObjectRepository
* @phpstan-param int|null $lockMode
* @phpstan-param int|null $lockVersion
* @phpstan-return TDocumentClass|null
public function find($id, $lockMode = null, $lockVersion = null);
22
23
/**
24
* @phpstan-return array<int, TDocumentClass>
25
26
27
public function findAll();
28
@@ -30,12 +32,14 @@ class DocumentRepository implements ObjectRepository
30
32
* @phpstan-param int|null $limit
31
33
* @phpstan-param int|null $skip
34
35
36
37
public function findBy(array $criteria, ?array $sort = null, $limit = null, $skip = null);
38
39
40
* @phpstan-param array<string, mixed> $criteria The criteria.
41
42
43
44
public function findOneBy(array $criteria);
45
stubs/EntityManager.stub
@@ -14,6 +14,7 @@ class EntityManager implements EntityManagerInterface
14
public function find($entityName, $id, $lockMode = null, $lockVersion = null);
stubs/EntityManagerDecorator.stub
@@ -16,6 +16,7 @@ class EntityManagerDecorator implements EntityManagerInterface
stubs/EntityManagerInterface.stub
@@ -15,6 +15,7 @@ interface EntityManagerInterface extends ObjectManager
* @phpstan-param class-string<T> $className
* @phpstan-param mixed $id
public function find($className, $id);
stubs/EntityRepository.stub
@@ -26,6 +26,7 @@ class EntityRepository implements ObjectRepository
* @phpstan-return list<TEntityClass>
29
@@ -35,6 +36,7 @@ class EntityRepository implements ObjectRepository
* @phpstan-param int|null $offset
public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null);
@@ -77,6 +79,8 @@ class EntityRepository implements ObjectRepository
77
79
* @param array<string, mixed> $criteria
78
80
*
81
* @return int<0, max>
82
+ *
83
84
85
public function count(array $criteria);
86
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments