mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 18:56:02 +07:00
DI is now case sensitive: changing IDBConnection
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user