summaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-12-29 15:40:06 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-12-29 15:40:06 +0100
commit6ef63d27a8183a1a31e6e67982aca1b0d71b469e (patch)
treebf0d3d1c3578373741de6fb70efee7fde3fc7cc6 /apps/user_status/lib
parenta37909f61c5850bfba9df42cb69d18ecce9710bc (diff)
downloadnextcloud-server-6ef63d27a8183a1a31e6e67982aca1b0d71b469e.tar.gz
nextcloud-server-6ef63d27a8183a1a31e6e67982aca1b0d71b469e.zip
Make the UserStatusMapper a generic instance of QBMapper
This removes our manual overrides and helps static analysis. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/user_status/lib')
-rw-r--r--apps/user_status/lib/Db/UserStatusMapper.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/user_status/lib/Db/UserStatusMapper.php b/apps/user_status/lib/Db/UserStatusMapper.php
index ce3a2823bce..51f1b270b45 100644
--- a/apps/user_status/lib/Db/UserStatusMapper.php
+++ b/apps/user_status/lib/Db/UserStatusMapper.php
@@ -23,6 +23,7 @@ declare(strict_types=1);
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
namespace OCA\UserStatus\Db;
use OCP\AppFramework\Db\QBMapper;
@@ -31,14 +32,7 @@ use OCP\IDBConnection;
use OCP\UserStatus\IUserStatus;
/**
- * Class UserStatusMapper
- *
- * @package OCA\UserStatus\Db
- *
- * @method UserStatus insert(UserStatus $entity)
- * @method UserStatus update(UserStatus $entity)
- * @method UserStatus insertOrUpdate(UserStatus $entity)
- * @method UserStatus delete(UserStatus $entity)
+ * @template-extends QBMapper<UserStatus>
*/
class UserStatusMapper extends QBMapper {