Merge pull request #30441 from nextcloud/techdebt/generic-user-status-mapper

Make the UserStatusMapper a generic instance of QBMapper
This commit is contained in:
Carl Schwan 2021-12-30 11:00:53 +01:00 committed by GitHub
commit 223ae801fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {