Merge pull request #7154 from vdiezel/fix-reorder-card-rest-endpoint

fix: parse arguments to CardService.reorder correctly to int
This commit is contained in:
Luka Trovic
2025-09-26 15:26:44 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -439,7 +439,7 @@ class CardService {
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
* @throws BadRequestException
*/
public function reorder($id, $stackId, $order) {
public function reorder(int $id, int $stackId, int $order) {
$this->cardServiceValidator->check(compact('id', 'stackId', 'order'));
$this->permissionService->checkPermission($this->cardMapper, $id, Acl::PERMISSION_EDIT);