You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great if we can use Rector to add this annotation:
+ /** @extends ServiceEntityRepository<Document> */
final class DocumentRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Document::class);
}
}
The text was updated successfully, but these errors were encountered:
PHPStan doesn't support Repositories as a service: phpstan/phpstan-doctrine#178, phpstan/phpstan-doctrine#67 (comment)
Would be great if we can use Rector to add this annotation:
+ /** @extends ServiceEntityRepository<Document> */ final class DocumentRepository extends ServiceEntityRepository { public function __construct(ManagerRegistry $registry) { parent::__construct($registry, Document::class); } }
The text was updated successfully, but these errors were encountered: