Cleanup API

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
Jonas Rittershofer 2020-04-13 13:10:52 +02:00
commit def29eb2d8
4 changed files with 85 additions and 191 deletions

View file

@ -45,7 +45,7 @@ class FormMapper extends QBMapper {
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException if more than one result
* @throws \OCP\AppFramework\Db\DoesNotExistException if not found
*/
public function find(int $id): Form {
public function findById(int $id): Form {
$qb = $this->db->getQueryBuilder();
$qb->select('*')