Skip to content
Merged
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
2 changes: 2 additions & 0 deletions stubs/EntityRepository.stub
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class EntityRepository implements ObjectRepository
* @phpstan-param int|null $lockMode
* @phpstan-param int|null $lockVersion
* @phpstan-return TEntityClass|null
* @phpstan-impure
*/
public function find($id, $lockMode = null, $lockVersion = null);

Expand All @@ -41,6 +42,7 @@ class EntityRepository implements ObjectRepository
* @phpstan-param array<string, mixed> $criteria The criteria.
* @phpstan-param array<string, string>|null $orderBy
* @phpstan-return TEntityClass|null
* @phpstan-impure
*/
public function findOneBy(array $criteria, ?array $orderBy = null);

Expand Down
Loading