mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #30441 from nextcloud/techdebt/generic-user-status-mapper
Make the UserStatusMapper a generic instance of QBMapper
This commit is contained in:
commit
223ae801fe
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