DI is now case sensitive: changing IDBConnection

This commit is contained in:
Tobias Kaminsky
2021-02-04 09:09:44 +01:00
committed by GitHub
parent 2d2275cd59
commit d480f93ff9

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);
}