Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/DocumentMapper.php1
-rw-r--r--lib/Db/SessionMapper.php5
-rw-r--r--lib/Db/StepMapper.php1
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/Db/DocumentMapper.php b/lib/Db/DocumentMapper.php
index b35cbbb9f..9449bed44 100644
--- a/lib/Db/DocumentMapper.php
+++ b/lib/Db/DocumentMapper.php
@@ -28,6 +28,7 @@ use OCP\AppFramework\Db\QBMapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;
+/** @extends QBMapper<Document> */
class DocumentMapper extends QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'text_documents', Document::class);
diff --git a/lib/Db/SessionMapper.php b/lib/Db/SessionMapper.php
index 4849e9e6a..da264724c 100644
--- a/lib/Db/SessionMapper.php
+++ b/lib/Db/SessionMapper.php
@@ -29,10 +29,7 @@ use OCP\AppFramework\Db\QBMapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;
-/**
- * @method Session update(Session $session)
- * @method Session insert(Session $session)
- */
+/** @extends QBMapper<Session> */
class SessionMapper extends QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'text_sessions', Session::class);
diff --git a/lib/Db/StepMapper.php b/lib/Db/StepMapper.php
index 32a6ea9a5..f0148efff 100644
--- a/lib/Db/StepMapper.php
+++ b/lib/Db/StepMapper.php
@@ -27,6 +27,7 @@ use OCP\AppFramework\Db\QBMapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;
+/** @extends QBMapper<Step> */
class StepMapper extends QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'text_steps', Step::class);