Merge pull request #6105 from nextcloud/backport/6097/stable20

[stable20] DI is now case sensitive: changing IDBConnection
This commit is contained in:
Christoph Wurst 2021-02-04 15:42:45 +01:00 committed by GitHub
commit e6d9b8ccb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,12 +332,12 @@ Entities are returned from so-called :doc:`Mappers <storage/database>`. Let's cr
<?php
namespace OCA\NotesTutorial\Db;
use OCP\IDbConnection;
use OCP\IDBConnection;
use OCP\AppFramework\Db\QBMapper;
class NoteMapper extends QBMapper {
public function __construct(IDbConnection $db) {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'notestutorial_notes', Note::class);
}