Do not error on deprecated methods for now

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-12-28 14:40:14 +01:00
parent 34f45d985f
commit 4e92faa517
11 changed files with 31 additions and 25 deletions

View File

@@ -91,7 +91,7 @@ class AssignmentMapper extends QBMapper implements IPermissionMapper {
* Check if user exists before assigning it to a card
*
* @param Entity $entity
* @return null|Assignment
* @return Assignment
* @throws NotFoundException
*/
public function insert(Entity $entity): Entity {

View File

@@ -39,9 +39,8 @@ class StackMapper extends DeckMapper implements IPermissionMapper {
/**
* @param $id
* @return \OCP\AppFramework\Db\Entity if not found
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
* @throws \OCP\AppFramework\Db\DoesNotExistException
* @throws MultipleObjectsReturnedException
* @throws DoesNotExistException
*/
public function find($id): Stack {
$sql = 'SELECT * FROM `*PREFIX*deck_stacks` ' .