mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #6097 from nextcloud/di-case-sensitive
DI is now case sensitive: changing IDBConnection
This commit is contained in:
commit
c3f2ab3fee
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user