mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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>
This commit is contained in:
parent
a37909f61c
commit
6ef63d27a8
1 changed files with 2 additions and 8 deletions
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue