Merge pull request #6097 from nextcloud/di-case-sensitive

DI is now case sensitive: changing IDBConnection
This commit is contained in:
Christoph Wurst 2021-02-04 13:11:35 +01:00 committed by GitHub
commit c3f2ab3fee
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);
}